in reply to Re^2: Cumulative sum not working as it should be
in thread Cumulative sum not working as it should be

see perlvar

       $/      The input record separator, newline by default.

some ppl are too lazy to type "\n" :)

Cheers Rolf

( addicted to the Perl Programming Language)