You need to
I just noticed you have also a count to accumulate so something like
$product{PC}{Spare} = { count=>2, sum => 37,2}
Is a good structure.
So with which part do you have a problem?
Cheers Rolf
(addicted to the Perl Programming Language and ☆☆☆☆ :)
Je suis Charlie!
In reply to Re: Grouping of 2D arrays
by LanX
in thread Grouping of 2D arrays
by kfriman
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |