</cough>$foo =~ s/(123)/function($1)/e; # ^
In reply to Re^2: using s/ to not only substitute but also modify text
by Joost
in thread using s/ to not only substitute but also modify text
by Anonymous Monk
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |