Beefy Boxes and Bandwidth Generously Provided by pair Networks
Come for the quick hacks, stay for the epiphanies.
 
PerlMonks  

Re^2: "or die" versus "|| die"

by VSarkiss (Monsignor)
on Jun 24, 2005 at 15:10 UTC ( [id://469734]=note: print w/replies, xml ) Need Help??


in reply to Re: "or die" versus "|| die"
in thread "or die" versus "|| die"

This is wrong, and can lead the questioner astray. As other notes in this thread point out, the difference is precedence. Please don't write answers like this without checking.

Replies are listed 'Best First'.
Re^3: "or die" versus "|| die"
by jhourcle (Prior) on Jun 24, 2005 at 15:18 UTC

    Beware of violating your own sig.

    For a very thorough explaination of just what the differences are between the two (just an issue with precedence, which has already been covered), and the order of precedence for all perl operators, see the perldoc perlop

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others imbibing at the Monastery: (3)
As of 2024-04-24 04:26 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found