Problems? Is your data what you think it is? | |
PerlMonks |
Re^5: Turning foreach into map?by Anonymous Monk |
on Apr 06, 2005 at 08:48 UTC ( [id://445212]=note: print w/replies, xml ) | Need Help?? |
And the context of the (last) expression in the block. For for, it's in void context, for grep it's in scalar context, for map it's in list context.
In Section
Seekers of Perl Wisdom
|
|