in reply to Re: HoA create from array using map, more efficient?
in thread HoA create from array using map, more efficient?

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?

  • Comment on Re^2: HoA create from array using map, more efficient?

Replies are listed 'Best First'.
Re^3: HoA create from array using map, more efficient?
by ikegami (Patriarch) on Jun 18, 2011 at 20:26 UTC
    Avoid the my is surely a premature optimisation that can only hurt you.