Beefy Boxes and Bandwidth Generously Provided by pair Networks
Perl-Sensitive Sunglasses
 
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 scrutinizing the Monastery: (9)
As of 2014-07-31 08:30 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    My favorite superfluous repetitious redundant duplicative phrase is:









    Results (246 votes), past polls