|Welcome to the Monastery|
Re^6: Smartmatch alternativesby LanX (Abbot)
|on Dec 17, 2013 at 22:08 UTC||Need Help??|
Thanks, but this can't be fixed.
The problem is that the design of List::Util first is broken, no result should be an empty list and not undef! At least in list context ! :(
I wished people would learn the lesson that () is always better then undef for failure in list operations like iterators or filters.
grep does it right!
( addicted to the Perl Programming Language)