The answer lies in the /e option to s///; read perlop.
Thanks,
James Mastros,
Just Another Perl Scribe
In reply to Re: Increase number per regex replacement
by theorbtwo
in thread Increase number per regex replacement
by bittondb
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |