in reply to Re^2: Summing up duplicate lines
in thread Summing up duplicate lines

Actually, this collapsing/ folding was harder to implement than I thought. Too many off-by-one edge cases.

Still looking into simplifying the code.

Cheers Rolf
(addicted to the Perl Programming Language :)
see Wikisyntax for the Monastery