Join GitHub today
GitHub is home to over 50 million developers working together to host and review code, manage projects, and build software together.Sign up
GitHub is where the world builds software
Millions of developers and companies build, ship, and maintain their software on GitHub — the largest and most advanced development platform in the world.
This is a bug report for perl from firstname.lastname@example.org,
% 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