P is for Practical | |
PerlMonks |
map vs foreachby dash2 (Hermit) |
on Jun 20, 2003 at 17:07 UTC ( [id://267656]=note: print w/replies, xml ) | Need Help?? |
but that uses the return from map, although it's hidden.
I don't see why using map in a void context is so wrong. Sometimes it expresses something better, particularly if the order of operation doesn't matter:
In Section
Seekers of Perl Wisdom
|
|