in reply to Re^5: Dangerous Names
in thread Dangerous Names
UPDATE: No, actually it does die. This is not a warning. Observe:
$ perl -e '@names = (["Nan Tregar"], ["Sam Tregar"]); eval { @names + = sort { $a->[0] <=> $b->[0] } @names; }; print "ERROR WAS: $@"' ERROR WAS: Sort subroutine didn't return a numeric value at -e line + 1.
-sam
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^7: Dangerous Names
by ikegami (Patriarch) on Dec 17, 2008 at 22:42 UTC |