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
require 5 << 1 vs require 5 >> 1 #11801
Comments
From @cpansproutSending again.... I sent this to p5p by mistake the first time. perl5.15.5 -le' print require 5 >> $3' $ perl5.15.5 -le' print require 5 << $3' Putting a number after require causes the tokenizer to expect a term after it. If the token is unambiguous (>>), the parser (perly.y) has no problem with it. B::Deparse with -p shows that it’s doing require((5 >> $3)). Flags: Site configuration information for perl 5.15.5: Configured by sprout at Sat Nov 26 11:40:22 PST 2011. Summary of my perl5 (revision 5 version 15 subversion 5) configuration: Locally applied patches: @INC for perl 5.15.5: Environment for perl 5.15.5: |
From @cpansproutOn Sun Dec 11 13:38:36 2011, sprout wrote:
This seems to affect barewords as well (I posted this under bug #105928, $ perl5.15.5 -MO=Concise -e 'require a:: . 1' $ perl5.15.5 -MO=Concise -we 'require a::b + 1' -- Father Chrysostomos |
From [Unknown Contact. See original ticket]On Sun Dec 11 13:38:36 2011, sprout wrote:
This seems to affect barewords as well (I posted this under bug #105928, $ perl5.15.5 -MO=Concise -e 'require a:: . 1' $ perl5.15.5 -MO=Concise -we 'require a::b + 1' -- Father Chrysostomos |
@cpansprout - Status changed from 'new' to 'open' |
From @cpansproutFixed by c31f6d3. |
From [Unknown Contact. See original ticket]Fixed by c31f6d3. |
@cpansprout - Status changed from 'open' to 'resolved' |
Migrated from rt.perl.org#105924 (status was 'resolved')
Searchable as RT105924$
The text was updated successfully, but these errors were encountered: