in reply to map vs for\foreach.

In what kind of situations map function is more applicable then for\foreach\while?
Effective Perl Programming item 20, "Use foreach, map and grep as appropriate", provides a nice summary of when to use foreach, map and grep: