http://qs321.pair.com?node_id=821273


in reply to Re^2: Challenge: Sorting Sums Of Sorted Series
in thread Challenge: Sorting Sums Of Sorted Series

Your code needs some TLC and your for (0 .. $#list) should probably be for (;;) loops.

Why? Do you believe the list gets flattened? No, for (EXPR..EXPR) is implemented as a counting loop.