-
Notifications
You must be signed in to change notification settings - Fork 571
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
Deparse -x3 loses "for" initialiser #16223
Comments
From zefram@fysh.orgCreated by zefram@fysh.orgIf B::Deparse is given the "-x3" option to expand source constructs, $ perl -MO=Deparse -e 'for($i = 5; $i != 10; $i++) { print $i, "\n"; }' The documentation for B::Deparse has a warning about variables declared in Perl Info
|
From wagnerc@plebeian.comThis is still an issue in 5.29.8. for($i = 5; $i != 10; $i++) { print $i, "\n"; } deparse: for(my $i = 5; $i != 10; $i++) { print $i, "\n"; } deparse: This problem goes back to atleast 5.8.8. $ /c/perl588/bin/perl5.8.8.exe -e 'print $]' $ /c/perl588/bin/perl5.8.8.exe -MO=Deparse,-p,-q,-x9,-P -e 'for(my$i = 5; $i != 10; $i++) { print $i, "\n"; }' Thanks. |
The RT System itself - Status changed from 'new' to 'open' |
Migrated from rt.perl.org#132397 (status was 'open')
Searchable as RT132397$
The text was updated successfully, but these errors were encountered: