in reply to hashes - finding values

A very similar question poped up yesterday: comparing array elements to hash keys. The question isn't exactly like yours, but the replies should be applicable to your question.

----
I wanted to explore how Perl's closures can be manipulated, and ended up creating an object system by accident.
-- Schemer

Note: All code is untested, unless otherwise stated