|
|
| Perl Monk, Perl Meditation | |
| PerlMonks |
Re^2: better array to hash conversionby perltux (Beadle) |
| on Dec 11, 2012 at 13:31 UTC ( #1008300=note: print w/ replies, xml ) | Need Help?? |
|
Actually I do like your example with 'map' because it made me understand better how 'map' works (even though @hash{@array} = 0..$#array; is probably the better solution here).
In Section
Seekers of Perl Wisdom
|
|
||||||||||||||||||||