|
|
| Perl Monk, Perl Meditation | |
| PerlMonks |
Re: better array to hash conversionby clueless newbie (Friar) |
| on Dec 11, 2012 at 12:23 UTC ( #1008290=note: print w/ replies, xml ) | Need Help?? |
|
@hash{@array}=(0..$#hash}; Should really read @hash{@array}=(0..$#array}; Thanks for the catch, perltux!
In Section
Seekers of Perl Wisdom
|
|
||||||||||||||||||||||||