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
Using "my" in "until" statement modifier resetting lexicals from outer scope #17103
Comments
From choroba@matfyz.czCreated by @chorobaAs stated in the Subject: using "my" in the "until" statement modifier resets See also https://www.perlmonks.org/?node_id=11103184 and especially #!/usr/bin/perl warn $]; our $our = 1; my $mine = 1; our $nil = 1; my $null = 1; When using "if" instead of "until", the output is always "6". Thanks to LanX who is normally to busy/lazy to report perlbugs Ch. Perl Info
|
From @tonycozOn Tue, 23 Jul 2019 08:00:01 -0700, choroba@matfyz.cz wrote:
newLOOPOP() calls op_scope() to wrap the statement in an enter/leave pair, and since padsv does a save_clearsv() for the my variable, it's cleared by the leave. Tony |
The RT System itself - Status changed from 'new' to 'open' |
Migrated from rt.perl.org#134303 (status was 'open')
Searchable as RT134303$
The text was updated successfully, but these errors were encountered: