Help for this page

Select Code to Download


  1. or download this
    #! /usr/bin/perl
    use warnings; use strict;
    ...
    
    $template->param(foo => \@array);
    $template->output;
    
  2. or download this
    $VAR1 = [
              {
    ...
              }
            ];
    HTML::Template->output() : fatal error in loop output : Not a HASH ref
    +erence at /usr/share/perl5/HTML/Template.pm line 3059.
    
  3. or download this
    #! /usr/bin/perl
    use warnings; use strict;
    ...
        $template->param(foo => $array_ref);
    }
    print $template->output;