in reply to Using a hash key value as the key in another hash.

I don't see any reason not to store a hash key as a value in another hash. Sometimes it's even useful to have two hashes that are opposites of each other, so you can look up a key in the first hash and get its value, or look up a value in the second hash and get its key.
  • Comment on Re: Using a hash key value as the key in another hash.