Beefy Boxes and Bandwidth Generously Provided by pair Networks
Syntactic Confectionery Delight
 
PerlMonks  

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

by davido (Archbishop)
on Jun 25, 2005 at 04:43 UTC ( #469886=note: print w/ replies, xml ) Need Help??


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

I realize it's a little late in this thread, but still just as relevant. I put a tutorial up on this subject a year or so ago. You'll find it here: Perl Idioms Explained - && and || "Short Circuit" operators. Shameless plug, but the tutorial and the discussion thread it provoked is pretty informative IMHO.

Enjoy!


Dave


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

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others meditating upon the Monastery: (19)
As of 2015-07-02 10:55 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    The top three priorities of my open tasks are (in descending order of likelihood to be worked on) ...









    Results (34 votes), past polls