Beefy Boxes and Bandwidth Generously Provided by pair Networks
"be consistent"
 
PerlMonks  

Re: Checking the value of an undefined value

by chrism01 (Friar)
on May 12, 2008 at 05:01 UTC ( [id://686030]=note: print w/replies, xml ) Need Help??


in reply to Checking the value of an undefined value

$num = defined($num) ? $num : 1;
  • Comment on Re: Checking the value of an undefined value

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others having an uproarious good time at the Monastery: (4)
As of 2024-04-25 07:06 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found