- or download this
# generate a new template handler
my $th=Template::YetAnother->new
...
<p>foo bar</p>
<hr>
Thu Nov 7 21:51:05 200
- or download this
my $th=Template::YetAnother->new({
template_dir=>'/path/to/templates/',
...
# start_tag=>'<--',
# end_tag=> '-->',
});
- or download this
$th->fill($data);
- or download this
my $fragment=$th->_gen('type',$data)
- or download this
$th->type($data)
- or download this
--
#!/usr/bin/perl
for(ref bless{},just'another'perl'hacker){s-:+-$"-g&&print$_.$/}