P is for Practical | |
PerlMonks |
Re: map vs for\foreach.by eyepopslikeamosquito (Archbishop) |
on Mar 12, 2015 at 01:44 UTC ( [id://1119727]=note: print w/replies, xml ) | Need Help?? |
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:
In Section
Seekers of Perl Wisdom
|
|