No such thing as a small change | |
PerlMonks |
Re: Merging partially duplicate linesby poj (Abbot) |
on Jan 30, 2016 at 16:08 UTC ( [id://1154070]=note: print w/replies, xml ) | Need Help?? |
How could this be done?
Create a simple database with sqlite would be one way. Failing that, use a hash to aggregate records with the same key fields keeping a sum and count for each column Note : I get 7 for the sum here I 40 D D 1 7poj
In Section
Seekers of Perl Wisdom
|
|