Beefy Boxes and Bandwidth Generously Provided by pair Networks
Perl Monk, Perl Meditation

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

by brian_d_foy (Abbot)
on Jun 24, 2005 at 16:05 UTC ( #469748=note: print w/replies, xml ) Need Help??

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

The perlfaq is and has been maintained by several people, so you see a lot of different styles and conventions. Rather than enforce a particular style, I let the answers show that there is more than one way to do things, although I have also started noted the authors of each answer.

The "best way" is up to you. The "or" version generally works out for people who don't like parentheses (since they don't use the parens' supreme precendence to define the order).

brian d foy <>

Log In?

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

How do I use this? | Other CB clients
Other Users?
Others perusing the Monastery: (14)
As of 2016-10-21 16:14 GMT
Find Nodes?
    Voting Booth?
    How many different varieties (color, size, etc) of socks do you have in your sock drawer?

    Results (289 votes). Check out past polls.