develooper Front page | perl.perl5.porters | Postings from July 2022

perl -we '$00' dies in 5.32

Thread Next
"Konovalov, Vadim" via perl5-porters
July 22, 2022 13:23
perl -we '$00' dies in 5.32
Message ID:
My scripts suddenly stopped working in newer perl because they use $00 variable.

$ perl -we '$00'
Numeric variables with more than one digit may not start with '0' at -e line 1.

$ perl -v

This is perl 5, version 32, subversion 1 (v5.32.1) built for i686-cygwin-threads-64int-multi
(with 7 registered patches, see perl -V for more detail)

Copyright 1987-2021, Larry Wall

Perl may be copied only under the terms of either the Artistic License or the
GNU General Public License, which may be found in the Perl 5 source kit.

Complete documentation for Perl, including FAQ lists, should be found on
this system using "man perl" or "perldoc perl".  If you have access to the
Internet, point your browser at, the Perl Home Page.

This works well in 5.26.0

What this behaviour degrade was for?

Internal Use - Confidential

Thread Next Perl Programming lists via nntp and http.
Comments to Ask Bjørn Hansen at | Group listing | About