Beefy Boxes and Bandwidth Generously Provided by pair Networks
Don't ask to ask, just ask
 
PerlMonks  

Re^6: Dangerous Names

by samtregar (Abbot)
on Dec 17, 2008 at 22:13 UTC ( #731081=note: print w/replies, xml ) Need Help??


in reply to Re^5: Dangerous Names
in thread Dangerous Names

Oh, right, I have die on warnings running in this context I think.

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 (Pope) on Dec 17, 2008 at 22:42 UTC

    Oops, I guess I flubbed my test code.

    I submitted a bug report.

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://731081]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others chilling in the Monastery: (8)
As of 2020-07-13 16:00 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found

    Notices?