in reply to Re^3: Common hash keys
in thread Common hash keys
would've sufficed?? If you just have to determine if they have keys in common,my @keys_in_commmon = grep $hashref1->{$_}, keys %$hashref2;
would do the trick...if( grep $hashref1->{$_}, keys %$hashref2 ) { ... }
|
---|
Replies are listed 'Best First'. | |
---|---|
Re^5: Common hash keys
by Anonymous Monk on Jun 08, 2008 at 06:56 UTC | |
by parv (Parson) on Jun 08, 2008 at 08:29 UTC | |
by throop (Chaplain) on Jun 08, 2008 at 13:31 UTC | |
by Porculus (Hermit) on Jun 15, 2008 at 17:30 UTC |