In the meantime you can consider that by saying "compare the elements in Hash1 with the elements in Hash2, and print the element if it matches", you've phrased the question so well that's probably just a question of running "perldoc perldata", then reading and applying the results.
If you'd like to post non-working code to show you've tried, you may have better luck.
In reply to perldoc perldata
by cebrown
in thread comparing elements in 2 hashes...
by whisper80
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |