my $areEqual = (keys %hash1 == keys %hash2) && 0 == grep {!exists $hash2{$_}} keys %hash1;
In reply to Re: How to check similarity of two hash tables
by RMGir
in thread How to check similarity of two hash tables
by Rajiv
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |