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 && ...
In reply to Re: Cumulative sum not working as it should be
by BrowserUk
in thread Cumulative sum not working as it should be
by nehavin
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |