|
|
| P is for Practical | |
| PerlMonks |
Re: When would you choose foreach instead of map?by ten_bytes (Initiate) |
| on May 20, 2004 at 17:54 UTC ( [id://355094]=note: print w/replies, xml ) | Need Help?? |
This is an archived low-energy page for bots and other anonmyous visitors. Please sign up if you are a human and want to interact.
I would generally try to make my code as short and full of idioms as possible...that's why I would use map
In Section
Seekers of Perl Wisdom
|
|
||||||||||||||||||||||||