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 ) { ... }
In reply to Re^4: Common hash keys
by massa
in thread Common hash keys
by Anonymous Monk
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |