Problems may occur if a key is not present in both hashes, though.foreach my $key ( sort keys %hash1 ) { print $hash1{$key} - $hash2{$key}, "\n"; }
In reply to Re: How best to compare hash values?
by choroba
in thread How best to compare hash values?
by jimbass
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |