Fuse::Template::TT - Read template files


Fuse-Template documentation  | view source Contained in the Fuse-Template distribution.

Index


NAME

Top

Fuse::Template::TT - Read template files

ATTRIBUTES

Top

vars

Holds a hash ref with the variables which is available in the template.

paths

Holds an array ref with paths to where Template::Toolkit will look for templates.

METHODS

Top

render

    $text = $self->render($vfile);

Will return the output from a processed template. The $vfile points to a template relative to one of the paths. It cannot start with "/".

$text will hold the error message if templat toolkit fail to render the template.

process

See Template.

error

See Template.

AUTHOR

Top

See Fuse::Template.


Fuse-Template documentation  | view source Contained in the Fuse-Template distribution.