in reply to
Re: Re: Regex Capturing: Is this a bug or a feature?
in thread Regex Capturing: Is this a bug or a feature?
Why would you interperate it being scoped to the outer block?
I'd like to change "the outher block" to "an outer (imaginary) block". The outer block I used above isn't written by the coder.
It's declared in the foreach's block
What's declared in that block? Something is declared for the block rather than in it.
I interperate that as the foreach's block as that is the enclosing block in this example.
Effectively that's the same thing as the end of the imaginary block.
I thought it would be clear that everything but your code was "added" by Perl, especially since I wrote my own $DIGIT localizer.
Hope this makes it more clear what I meant.