- or download this
... stuff ...
<table>
...
</TMPL_LOOP>
</table>
... more stuff ...
- or download this
my $template = HTML::Template->new(rows => ...);
print $template->output;
- or download this
... stuff ...
<TMPL_INCLUDE NAME="table.tmpl">
... more stuff ...
- or download this
... stuff ...
<TMPL_VAR ESCAPE=0 table>
... more stuff ...
- or download this
my $template = HTML::Template->new(filename => 'bigpage.tmpl');
my $tableHTML = tableHTML(...);
$template->param(table => $tableHTML);
print $template->output;
- or download this
sub tableHTML {
my %table_data = @_;
...
$template->param(%table_data);
return $template->output;
}