-
Notifications
You must be signed in to change notification settings - Fork 574
0_ gives double warning #9989
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
Comments
From frank.wiegand@gmail.comThis is a bug report for perl from frank.wiegand@gmail.com, % perl -we 0_ Occurs only with 0_, not 1_ or else. The doubled warning still resides in 5.11.2. Frank Flags: Site configuration information for perl 5.10.1: Configured by Debian Project at Sat Nov 7 22:18:45 UTC 2009. Summary of my perl5 (revision 5 version 10 subversion 1) configuration: Locally applied patches: @INC for perl 5.10.1: Environment for perl 5.10.1: |
From p5p@spam.wizbit.beOn Fri Nov 27 06:26:16 2009, frank.wiegand wrote:
What is happening in the code: a) first it checks if the (octal) number begins with '_' In this case there is only one character and this produces the warning The double warning also happens in the following cases: The double warning does not happen for: The reason for this is that the parsing of the exponent is a bit a) it checks if the first character is '_' This also means that: print 5e__-3 is parsed as: 5 - 3 (= 2) and not as The only fix I can currently see is to add another var which contains Best regards, Bram |
The RT System itself - Status changed from 'new' to 'open' |
From zefram@fysh.orgFixed in 72c80c7. -zefram |
Migrated from rt.perl.org#70878 (status was 'open')
Searchable as RT70878$
The text was updated successfully, but these errors were encountered: