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
new <<>> operator deparses the same as <> #14615
Comments
From @kentfredricI mentioned this in passing in #123990, but it warrants its own bug. perl -e 'while(readline){ print $_ }' 'echo insecure |' perl -MO=Deparse -e 'while(readline){ print $_ }' 'echo insecure |' perl -MO=Deparse -e 'while(<<>>){ print $_ }' 'echo insecure |' perl -MO=Deparse -e 'while(<>){ print $_ }' 'echo hello |' perl -e 'while(defined($_ =<ARGV>)){ print $_ }' 'echo insecure |' 5.21.10Flags: Site configuration information for perl 5.21.10: Configured by kent at Mon Mar 23 03:27:39 NZDT 2015. Summary of my perl5 (revision 5 version 21 subversion 10) configuration: @INC for perl 5.21.10: Environment for perl 5.21.10: |
From @kentfredricUgh. Ignore the top line of the quote w/ "readline" It got stuck in my paste buffer by accident from the other bug. But I assure you, all the others are still doing what they claim to do. |
From @rgarciaOn 23 March 2015 at 14:45, Kent Fredric <perlbug-followup@perl.org> wrote:
This should be fixed by 65ef2c3 : $ bleadperl -MO=Deparse -e 'while(<<>>){}' |
The RT System itself - Status changed from 'new' to 'open' |
From @ilmariRafael Garcia-Suarez <rgs@consttype.org> writes:
How about a test, so it doesn't break again? -- |
Migrated from rt.perl.org#124157 (status was 'open')
Searchable as RT124157$
The text was updated successfully, but these errors were encountered: