in reply to Parsing pcap files with Net::TcpDumpLog - comparing two hash arrays?

To be more clear, let's assume simpler, only number based data:
---HASH KEY----|-VALUE-| (a) (b) | | 250 50 | 4 | <- PAIR 1 50 250 | 5 | <- PAIR 1 47 250 | 1 | <- PAIR 2 101 250 | 7 | <- PAIR 3 250 47 | 8 | <- PAIR 2 250 101 | 9 | <- PAIR 3
And i Would like to get following output:
KEYS | a value | b value | total 250 50 | 4 | 5 | 9 47 250 | 1 | 8 | 9 101 250 | 7 | 9 | 16
I think it's more clear.