Whatcha talkin bout Willis?My nickname is tinita.
So where's the last print statement? It isn't executed. sort dies. Or what exactly was your question?perl -wle'@a = sort { print "$a <=> $b"; $a <=> $b } 2, 3, "nan"; print "\@a = @a";' 2 <=> 3 2 <=> nan Sort subroutine didn't return a numeric value at -e line 1.
In reply to Re^6: Dangerous Names
by tinita
in thread Dangerous Names
by samtregar
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |