Beefy Boxes and Bandwidth Generously Provided by pair Networks
go ahead... be a heretic
 
PerlMonks  

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

by VSarkiss (Monsignor)
on Jun 24, 2005 at 15:10 UTC ( #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.


Comment on Re^2: "or die" versus "|| die"
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
Node Status?
node history
Node Type: note [id://469734]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others chilling in the Monastery: (10)
As of 2014-10-20 22:14 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    For retirement, I am banking on:










    Results (92 votes), past polls