Beefy Boxes and Bandwidth Generously Provided by pair Networks
Clear questions and runnable code
get the best and fastest answer

Re: "or die" versus "|| die"

by bart (Canon)
on Jun 24, 2005 at 17:17 UTC ( #469772=note: print w/ replies, xml ) Need Help??

in reply to "or die" versus "|| die"

|| is very old, or is newer. The latter is preferred, the reason why you still see || so often is indeed because or is a more recent addition.

And the difference is indeed just their precedence, or behaves more appropriately for this kind of functionality.

Comment on Re: "or die" versus "|| die"

Log In?

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

How do I use this? | Other CB clients
Other Users?
Others drinking their drinks and smoking their pipes about the Monastery: (7)
As of 2015-11-30 12:41 GMT
Find Nodes?
    Voting Booth?

    What would be the most significant thing to happen if a rope (or wire) tied the Earth and the Moon together?

    Results (770 votes), past polls