in reply to Looping through a hash where some keys are the same
That's what hashes do. They don't allow duplicate keys. If you really need to store multiple scalars for a single key, you need advanced data structures, such as a hash of array references.
If you explained the problem you're trying to solve, though, and not the code you've tried to use to solve it, people may be able to give you better answers.
|
|---|