in reply to Re^4: How do I use the map command for this?
in thread How do I use the map command for this?
... you could use map { do_something( $_ ) @list in place of for (@list) { do_something( $_ ) } ...
And likewise grep for a really confusing maintenance session! (grep has the same optimization in void context.)
Give a man a fish: <%-{-{-{-<
|
|---|