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


in reply to map and modifying $_

I don't understand your question. @goo is a named array, and for (@goo) is not a C-style loop.

Note that perl5.6 broke all programs that did something like map {s/foo/bar/} "foobar";. What has been gained by this breakage is totally unclear to me.

-- Abigail