i have a csv file with repeated keys with different values, i need to add values for the repeated keys. i tried using hashes but it takes the only last value. is there a way that i can keep track of repeated keys and add values for each repeated key.

example: am taking key as a time. same time 40:09.1 repeats for 4 times. for this 4 times i want to add correponding values. when i used hash this is not happening.