in reply to Creating lists using a hash with the same key/values

You may want to have a look at the Set::* family of modules, especially Set::Scalar and Set::Object come to mind.

Hope this helps, -gjb-

  • Comment on Re: Creating lists using a hash with the same key/values