Beefy Boxes and Bandwidth Generously Provided by pair Networks
There's more than one way to do things
 
PerlMonks  

Re^2: Common hash keys

by Anonymous Monk
on Jun 07, 2008 at 18:55 UTC ( [id://690853]=note: print w/replies, xml ) Need Help??


in reply to Re: Common hash keys
in thread Common hash keys

*That's the one*. Thank you.

use List::Util 'first'; if(first{exists $hashRef2->{$_}} keys %$hashRef1 ) # }

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others having a coffee break in the Monastery: (3)
As of 2024-04-18 23:18 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found