Beefy Boxes and Bandwidth Generously Provided by pair Networks
laziness, impatience, and hubris
 
PerlMonks  

Re(3): variable set to 0 ? 0 : 1

by talexb (Chancellor)
on Sep 07, 2002 at 04:33 UTC ( [id://195833]=note: print w/replies, xml ) Need Help??

Help for this page

Select Code to Download


  1. or download this
    return ( ( $status == 0 ) ? 0 : 1 );  # Readable, clear.
    return $status == 0 ? 0 : 1;          # Confusing. Precedence?
    

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others taking refuge in the Monastery: (4)
As of 2024-04-19 02:19 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found