Beefy Boxes and Bandwidth Generously Provided by pair Networks
No such thing as a small change
 
PerlMonks  

Re: HTML::Template Accessing Params and Reassigning

by snoopy (Curate)
on Aug 18, 2009 at 00:13 UTC ( [id://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
Domain Nodelet?
Node Status?
node history
Node Type: note [id://789311]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others having an uproarious good time at the Monastery: (3)
As of 2024-04-19 21:45 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found