Beefy Boxes and Bandwidth Generously Provided by pair Networks
We don't bite newbies here... much
 
PerlMonks  

Re: passing data to variable in if statment

by Paladin (Priest)
on May 06, 2008 at 21:00 UTC ( #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


Comment on Re: passing data to variable in if statment
Select or Download Code

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others drinking their drinks and smoking their pipes about the Monastery: (8)
As of 2015-07-02 02:06 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    The top three priorities of my open tasks are (in descending order of likelihood to be worked on) ...









    Results (25 votes), past polls