Help for this page

Select Code to Download


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