laziness, impatience, and hubris | |
PerlMonks |
Re: Nested LOOP in HTML::Templateby moot (Chaplain) |
on May 10, 2005 at 22:25 UTC ( [id://455784]=note: print w/replies, xml ) | Need Help?? |
You probably want this line:
to be this: otherwise you are setting the value of the INNER key to a scalar - the size of the @inner array. You'll also want to declare the @inner inside the while() loop, otherwise you'll find that each INNER's value holds the same data.
In Section
Seekers of Perl Wisdom
|
|