Beefy Boxes and Bandwidth Generously Provided by pair Networks
"be consistent"
 
PerlMonks  

Re: HTML::Template Accessing Params and Reassigning

by snoopy (Deacon)
on Aug 18, 2009 at 00:13 UTC ( #789311=note: print w/ replies, xml ) Need Help??

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;
    

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://789311]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others pondering the Monastery: (11)
As of 2014-12-18 07:47 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    Is guessing a good strategy for surviving in the IT business?





    Results (44 votes), past polls