Pathologically Eclectic Rubbish Lister | |
PerlMonks |
Re: naming array from a scalarby colwellj (Monk) |
on Nov 10, 2009 at 00:02 UTC ( [id://806077]=note: print w/replies, xml ) | Need Help?? |
George, You can create a hash of arrays. That way your array is 'named' by hash However your foreach loop dosen't make much sense to me in this context. I think you need to declare $val perhaps? To then print a particular named array
In Section
Seekers of Perl Wisdom
|
|