Beefy Boxes and Bandwidth Generously Provided by pair Networks
Problems? Is your data what you think it is?
 
PerlMonks  

Re: passing data to variable in if statment

by Paladin (Vicar)
on May 06, 2008 at 21:00 UTC ( [id://685074]=note: print w/replies, xml ) Need Help??


in reply to passing data to variable in if statment

Use defined $var to see if a variable is defined or not. "" is different from undef

Log In?
Username:
Password:

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

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

    No recent polls found