http://www.perlmonks.org?node_id=997833


in reply to Re: How to call a function on each item after a split?
in thread How to call a function on each item after a split?

Yeah. More elegant and Perlish than mine.

I'm too lazy to be proud of being impatient.

Replies are listed 'Best First'.
Re^3: How to call a function on each item after a split?
by MrSnrub (Beadle) on Oct 08, 2012 at 15:42 UTC
    Why is it better to use the map?
      Map is shorter, but just as clear. Result is a list -> can be fed directly to another function.

      Just a matter of taste and choice really. TIMTOWTDI after all.

      I'm too lazy to be proud of being impatient.