in reply to
Re^2: common keys in two hashes
in thread
common keys in two hashes
As
olus
said, you don't need to search keys in %hash2 because you already found all those being also keys in %hash1. Any key from %hash2 which is not in @common won't be in %hash1 either.
Comment on
Re^3: common keys in two hashes
In Section
Seekers of Perl Wisdom