Jan Henning Thorsen > Fuse-Template > Fuse::Template::TT

Download:
Fuse-Template-0.0201.tar.gz

Dependencies

Annotate this POD

Website

View/Report Bugs
Source  

NAME ^

Fuse::Template::TT - Read template files

ATTRIBUTES ^

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 ^

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 ^

See Fuse::Template.

syntax highlighting: