in reply to Re: Requiring backtracking a certain number of times
in thread Requiring backtracking a certain number of times

After playing, I came up with:
@a=/.(?{$s+=$&})/g;
However, I have to have the @a=. If you run it without that, it only deals with the first number. *blinkblink* That's just so counter-intuitive.

------
We are the carpenters and bricklayers of the Information Age.

Don't go borrowing trouble. For programmers, this means Worry only about what you need to implement.