in reply to Re: When should I use map, for?
in thread When should I use map, for?

Since map returns the value in the BLOCK, there would be differing results if the OP didn't do this.

Although, to be completely fair, you could do:
s/0/./g; $_;

Replies are listed 'Best First'.
Re^3: When should I use map, for?
by mrborisguy (Hermit) on May 19, 2005 at 20:46 UTC

    Thanks for the clarification!

    -Bryan