Come for the quick hacks, stay for the epiphanies. | |
PerlMonks |
Re: concatenate scalar with array nameby Kenosis (Priest) |
on Jan 15, 2014 at 05:15 UTC ( [id://1070645]=note: print w/replies, xml ) | Need Help?? |
Instead of attempting to create variables 'on the fly,' consider creating a hash of arrays (HoA) whose keys are array1 .. array5:
Output:
Hope this helps!
In Section
Seekers of Perl Wisdom
|
|