in reply to Re^2: Returning a hash instead of two arrays help!
in thread Returning a hash instead of two arrays help!

It depends on why you have "repeated elements". If you have multiple people with the same name then you probably need to use an ID code as the hash key instead of the name. If you have multiple email addresses per person then the value becomes an array instead of a single value and you can thus track all the addresses.

True laziness is hard work
  • Comment on Re^3: Returning a hash instead of two arrays help!