in reply to Re^2: Help with storing data in a hash
in thread Help with storing data in a hash

Aha - that's the important part! You're overwriting %calls each time you call that function. I added an example you can use to my answer above. A better solution would be to make call_type() accept a reference to %calls and add entries to it.

-sam