They're globals, so local has an influence:
prints:perl -e'$_="fafbfc";/fc/;{local $`;/bf/;print $`,$/} print $`, $/'
faf fafb
After Compline,
Zaxo
In reply to Re: Why can't $` $& $' be enabled on a per-regex basis?
by Zaxo
in thread Why can't $` $& $' be enabled on a per-regex basis?
by MrNobo1024
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |