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 drinking their drinks and smoking their pipes about the Monastery: (13)
As of 2015-07-31 19:45 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    The top three priorities of my open tasks are (in descending order of likelihood to be worked on) ...









    Results (280 votes), past polls