in reply to Cumulative sum not working as it should be
I get this result if I comment the print statements in the block, if i uncomment then the cumulative some doesn't work.
Because this: print $token->[1], $/ if $nested = 0 && ... assigns 0 to it.
That should be: print $token->[1], $/ if $nested == 0 && ...
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^2: Cumulative sum not working as it should be
by nehavin (Initiate) on Jan 07, 2014 at 10:30 UTC | |
by LanX (Saint) on Jan 07, 2014 at 10:40 UTC |