Beefy Boxes and Bandwidth Generously Provided by pair Networks
Your skill will accomplish
what the force of many cannot
 
PerlMonks  

Re: Check if keys of hash is values of another hash!

by Bloodnok (Vicar)
on Jul 15, 2014 at 18:38 UTC ( #1093758=note: print w/replies, xml ) Need Help??


in reply to Check if keys of hash is values of another hash!

Methinx that something along the lines of if (grep { exists $b{$_} } keys %a) { ... might be one of the simpler solutions.

HTH,

A user level that continues to overstate my experience :-))

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others cooling their heels in the Monastery: (5)
As of 2020-06-02 02:55 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    Do you really want to know if there is extraterrestrial life?



    Results (12 votes). Check out past polls.

    Notices?