No such thing as a small change | |
PerlMonks |
Re: Passing array of references to Templateby philipbailey (Curate) |
on Aug 23, 2011 at 19:54 UTC ( [id://921984]=note: print w/replies, xml ) | Need Help?? |
You simply need a second loop, something like this (untested):
And in answer to should I deference it, bind the columns and then sent it to Template?--no, it's not necessary, and in fact Template Toolkit does not do what one expects (or at least what I expect) if you use arrays directly, as opposed to an array ref, for arrays with one element. It's safest to always use array refs.
In Section
Seekers of Perl Wisdom
|
|