my $old; s<\G(.*?\w+)><$old.=$1;"$old\n">ge;
In reply to Re: replacing $` with ordinary capturing in global substitutions
by Roy Johnson
in thread replacing $` with ordinary capturing in global substitutions
by jbullock35
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |