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

Re: Uninitialized errors when using 2 hashes.

by ssandv (Hermit)
on Oct 22, 2010 at 22:39 UTC ( [id://866891]=note: print w/replies, xml ) Need Help??


in reply to Uninitialized errors when using 2 hashes.

To expand on the answer above, the correct way to test for definedness, or the lack thereof, is with defined, something like

if (!defined $var) {...
, not with
if ($var eq undef) {...
See also exists

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others avoiding work at the Monastery: (3)
As of 2026-02-15 17:49 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found

    Notices?
    hippoepoptai's answer Re: how do I set a cookie and redirect was blessed by hippo!
    erzuuliAnonymous Monks are no longer allowed to use Super Search, due to an excessive use of this resource by robots.