Beefy Boxes and Bandwidth Generously Provided by pair Networks
There's more than one way to do things
 
PerlMonks  

Re: variable set to 0 ? 0 : 1

by Aristotle (Chancellor)
on Sep 06, 2002 at 06:05 UTC ( [id://195585]=note: print w/replies, xml ) Need Help??

Help for this page

Select Code to Download


  1. or download this
    return $status == 0 ? (wantarray ? () : undef) : 1;
    
  2. or download this
    return 1 if $status;
    return;
    

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others perusing the Monastery: (3)
As of 2024-04-19 23:54 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found