The Perl Toolchain Summit needs more sponsors. If your company depends on Perl, please support this very important event.

NAME

Template::Direct::SubPage - Handle a sub page load

DESCRIPTION

  Provide support for loading other templates from the current template.

METHODS

$class->new( $index, $line )

  Create a new instance object.

$object->compile( )

  Modifies a template with the data listed correctly.

$page->getContents( $data )

  Returns the compiled template by loading the file
  and passing the right scoped data to it.

$page->loadTemplate( )

  Load a Template object with the location of the sub page.

AUTHOR

  Martin Owens - Copyright 2007, AGPL