- or download this
[% # THis is in templatelib.tt %]
...
display default way
[% END %]
[% END %]
- or download this
[% # this is foo.tt %]
[% PROCESS templatelib.tt %]
[% date_template(parm_from_script, "foo", "bar") %]
- or download this
my $template = Template->new();
...
$template->process("foo.tt", $t_vars) ||
die $template->error();