Beefy Boxes and Bandwidth Generously Provided by pair Networks
Perl-Sensitive Sunglasses
 
PerlMonks  

Re: How come undef eq '' ??

by vsespb (Hermit)
on Jan 30, 2013 at 23:50 UTC ( #1016183=note: print w/ replies, xml ) Need Help??


in reply to How come undef eq '' ??

just replace

if( $tmp and ( $tmp eq "" ) )
with
if( defined($tmp) and ( $tmp eq "" ) )


Comment on Re: How come undef eq '' ??
Select or Download Code

Log In?
Username:
Password:

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

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

    On my keyboard, Caps lock is:








    Results (17 votes), past polls