Pathologically Eclectic Rubbish Lister | |
PerlMonks |
Re^4: iterating through array and saving matches to new arrayby Marshall (Canon) |
on Apr 19, 2018 at 23:05 UTC ( [id://1213203]=note: print w/replies, xml ) | Need Help?? |
Yes, actually it would be. Although I would still prefer the block form of grep. I show how to use map{} It actually took me quite a while to learn how to return "nothing" instead of "undef" from a map.
In Section
Seekers of Perl Wisdom
|
|