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

Re: How to Check Hashes for Missing Items when Keys can be Values and vice versa

by sn1987a (Chaplain)
on Jul 26, 2017 at 11:21 UTC ( #1196093=note: print w/replies, xml ) Need Help??


in reply to How to Check Hashes for Missing Items when Keys can be Values and vice versa

Ultimately, I expect to use defined() to see if an element exists or not

In addion to the other, excellent comments:
To determine if a key exists in a hash use exists. The function defined is used to test for definedness (i.e.not undef).

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others avoiding work at the Monastery: (3)
As of 2019-04-24 04:18 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    I am most likely to install a new module from CPAN if:
















    Results (121 votes). Check out past polls.

    Notices?