Clear questions and runnable code get the best and fastest answer |
|
PerlMonks |
Re^3: Using map and grep to Sort one list using another listby Moron (Curate) |
on Feb 05, 2007 at 15:26 UTC ( [id://598325]=note: print w/replies, xml ) | Need Help?? |
My take on this was rather that when the grep fails to produce a match, it returns an empty list to map which then operates on no extra entries - i.e. doing nothing rather than constructing an undefined value.
-M Free your mind
In Section
Seekers of Perl Wisdom
|
|