Beefy Boxes and Bandwidth Generously Provided by pair Networks
Come for the quick hacks, stay for the epiphanies.
 
PerlMonks  

Re^2: hash undef?

by Anonymous Monk
on Nov 15, 2007 at 15:11 UTC ( #650986=note: print w/replies, xml ) Need Help??


in reply to Re: hash undef?
in thread hash undef?

defined returns a boolean false (an empty string), not undef, if the value it is testing is not defined:

perl -wMstrict -e "print 'defined returns defined' if defined defined undef" defined returns defined

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others contemplating the Monastery: (8)
As of 2023-12-05 09:30 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    What's your preferred 'use VERSION' for new CPAN modules in 2023?











    Results (26 votes). Check out past polls.

    Notices?