|
|
| go ahead... be a heretic | |
| PerlMonks |
Re: IF in a loop using HTML::Templateby kielstirling (Scribe) |
| on Mar 20, 2013 at 19:58 UTC ( [id://1024608]=note: print w/replies, xml ) | Need Help?? |
|
In your template when you look for the param 'test' you are in the data loop.
tmpl_loops take a arrayref of hashref ie, My understanding is that you can't refer to params outside of the loop. Like you are doing with the test param. -Kiel
In Section
Seekers of Perl Wisdom
|
|
||||||||||||||||||||||||||||||||||||||||||||