Don't ask to ask, just ask | |
PerlMonks |
Re^2: HoA create from array using map, more efficient?by hsinclai (Deacon) |
on Jun 18, 2011 at 20:22 UTC ( [id://910357]=note: print w/replies, xml ) | Need Help?? |
Thanks, the implicit split is better... also, yes that script runs under strictures (I didn't show the whole script obviously) -- I just declared ($k,$v) globally because I use them in a bunch of other places - maybe that's a bad idea but they get overwritten each time, and values are coming back correctly.
Maybe that's a bad idea no matter how short the script?
In Section
Seekers of Perl Wisdom
|
|