Join GitHub today
GitHub is home to over 40 million developers working together to host and review code, manage projects, and build software together.Sign up
This is a bug report for perl from email@example.com,
% perl -we 0_
Occurs only with 0_, not 1_ or else.
The doubled warning still resides in 5.11.2.
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:
On 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