in reply to Selecting particular key-value pairs in hashes

You might also have a look at Tie::Hash::Regex

  • Comment on Re: Selecting particular key-value pairs in hashes