See the various examples in the Template documentation for the Process method. You need to define how you'd like it to output. For example:
my $output=''; $tt->process('main.html',$data, \$output) || die $tt->error(); print $output;
In reply to Re: Template Toolkit example getting blank output page
by marto
in thread Template Toolkit example getting blank output page
by Anonymous Monk
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |