in reply to Re: Scoping the regex memory variables and where do I go next
in thread Scoping the regex memory variables and where do I go next

It's a documented feature of m//. Also, the $DIGIT variables are read-only, so storing their values in another variable allows you to modify them.

japhy -- Perl and Regex Hacker
  • Comment on Re: Re: Scoping the regex memory variables and where do I go next