New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
changes to regex globals not localized within c-style for loop's continue #9581
Comments
From @ysthCreated by @ysthThis is properly an endless loop, since the change to $1 in the continue $ perl -wle'$^O= but that isn't the case in the supposedly equivalent for loop: $ perl -wle'$^O= Perl Info
|
From @jkeenanOn Sun Nov 30 00:14:04 2008, ysth wrote:
Is there a real bug here? Or is it really a case of imprecise I can confirm that in the while...continue case, the change to $1 is ##### However, when I call 'perldoc -f continue', I find no discussion of The relevant documentation of for loops is found in 'perldoc perlsyn': ##### for ($i = 1; $i < 10; $i++) { is the same as this: $i = 1; Would it suffice to clarify the 'perlfunc' documentation of scoping in Thank you very much. |
The RT System itself - Status changed from 'new' to 'open' |
From @ysthThis isn't anything special about continue blocks; $1 and friends are Adding a caveat to the for loop documentation would probably not be as good On Sat, Nov 10, 2012 at 5:48 AM, James E Keenan via RT <
|
Migrated from rt.perl.org#60928 (status was 'open')
Searchable as RT60928$
The text was updated successfully, but these errors were encountered: