in reply to Re^2: Incrementing a hash of array valuein thread Incrementing a hash of array value
If I still haven't understood you properly I would need to see a more complete example of the real data you are using.