|
|
| Perl Monk, Perl Meditation | |
| PerlMonks |
Re: Map list of hashrefsby raybies (Chaplain) |
| on Nov 22, 2011 at 13:05 UTC ( #939449=note: print w/ replies, xml ) | Need Help?? |
|
If you don't mind an array of hash rather than three seperate hashes with independent names, I'd do this:
(then accessing val1 and val2 would be... etc...) print "$array[0]->{k} $array[1]->{k}";
In Section
Seekers of Perl Wisdom
|
|
||||||||||||||||||||