![]() |
|
Problems? Is your data what you think it is? | |
PerlMonks |
Re: My array element won't print outside a loopby broquaint (Abbot) |
on Aug 09, 2005 at 10:58 UTC ( #482165=note: print w/replies, xml ) | Need Help?? |
You need to append to your array element instead of assigning to it anew in every loop iteration e.g
See. perlop for more info on the .= operator.
HTH
_________
In Section
Seekers of Perl Wisdom
|
|