in reply to How best to compare hash values?
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"; }
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^2: How best to compare hash values?
by doug (Pilgrim) on May 06, 2010 at 13:27 UTC |