P is for Practical | |
PerlMonks |
Re: Conditional Map?by blakem (Monsignor) |
on Oct 07, 2002 at 11:45 UTC ( [id://203294]=note: print w/replies, xml ) | Need Help?? |
To "zero out" an element using map, simply return an empty list
for that value...
So, you'd need to do something like this:
-Blake
In Section
Seekers of Perl Wisdom
|
|