[PREV - SUBTLE_PROBLEM] [TOP]NEXT
Modern Perl, this ain't:
my code uses $&
And worse: $' and $`
For my purposes,
I don't care:
If you'd like to modernize, it's a throwaway
using perl 5.10, there's run that does
a new modifier, /p. not persist.
From perlop, using /p will:
"preserve a copy of the matched
string so that ${^PREMATCH}, ${^MATCH},
${^POSTMATCH} will be defined."
Also see the documentation for @-
in perlvar, if you like typesetter
sneezes.
--------
[NEXT - NO_TP]