in reply to Re: Sort undefin thread Sort undef
This being a simple case, I thought the typical way to do it would be in the form:
(defined($a) <=> defined($b))
($a cmp $b)
(empty string is the false value returned from defined(undef) )
Forget it, I'm getting old ... false is a dual var which resolves to 0 in numeric context.
(addicted to the Perl Programming Language and ☆☆☆☆ :)
Je suis Charlie!