in reply to Please help with Hash Key,value issue

In a hash, all keys must be unique (that's why they are called "keys'). You probably want to use a Hash of Arrays, in other words: the value associated with each key is itself an array in which you can store the multiple instances of your data for this key. And of course inside your Array you can have hashes or other arrays as needed. Check perldoc perlreftut and perldoc perlref.

CountZero

A program should be light and agile, its subroutines connected like a string of pearls. The spirit and intent of the program should be retained throughout. There should be neither too little or too much, neither needless loops nor useless variables, neither lack of structure nor overwhelming rigidity." - The Tao of Programming, 4.1 - Geoffrey James