Welcome to the Monastery | |
PerlMonks |
Re^3: Sort undefby LanX (Saint) |
on Jun 12, 2017 at 16:29 UTC ( [id://1192617]=note: print w/replies, xml ) | Need Help?? |
Nice! I was worried that <=> can't handle "" without warnings, but that's not the case here. :) (empty string is the false value returned from defined(undef) )
EDITForget it, I'm getting old ... false is a dual var which resolves to 0 in numeric context.
Cheers Rolf
In Section
Seekers of Perl Wisdom
|
|