in reply to intersecting two hashes

Also see perlfaq4, which adresses the problem of finding the common elements of two structures.