Beefy Boxes and Bandwidth Generously Provided by pair Networks
Welcome to the Monastery
 
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.

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
Node Status?
node history
Node Type: note [id://469734]
help
Chatterbox?
and all is quiet...

How do I use this? | Other CB clients
Other Users?
Others meditating upon the Monastery: (None)
    As of 2017-07-27 03:04 GMT
    Sections?
    Information?
    Find Nodes?
    Leftovers?
      Voting Booth?
      I came, I saw, I ...
























      Results (402 votes). Check out past polls.