Come for the quick hacks, stay for the epiphanies. | |
PerlMonks |
Re: Re: Re: Regex Capturing: Is this a bug or a feature?by Anonymous Monk |
on Sep 29, 2002 at 00:57 UTC ( [id://201505]=note: print w/replies, xml ) | Need Help?? |
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. Cheers, -Anomo
In Section
Seekers of Perl Wisdom
|
|