in reply to Grouping of 2D arrays
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!
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^2: Grouping of 2D arrays
by AnomalousMonk (Archbishop) on Apr 20, 2017 at 15:06 UTC | |
by LanX (Saint) on Apr 20, 2017 at 15:17 UTC | |
by AnomalousMonk (Archbishop) on Apr 20, 2017 at 15:24 UTC | |
by LanX (Saint) on Apr 20, 2017 at 15:35 UTC | |
by AnomalousMonk (Archbishop) on Apr 20, 2017 at 15:58 UTC | |
|