Beefy Boxes and Bandwidth Generously Provided by pair Networks
P is for Practical
 
PerlMonks  

Re: How come undef eq '' ??

by muba (Priest)
on Jan 30, 2013 at 15:52 UTC ( #1016090=note: print w/ replies, xml ) Need Help??

Help for this page

Select Code to Download


  1. or download this
    print "a" . undef . "b";
    
  2. or download this
    perl -e 'my $tmp; if( $tmp and ( $tmp eq "" ) ) { print "In\n" } else 
    +{ print "Out\n" }'
    Out
    

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others surveying the Monastery: (13)
As of 2014-09-23 12:13 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    How do you remember the number of days in each month?











    Results (219 votes), past polls