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

perl -we '$00' dies in 5.32

Thread Next
From:
"Konovalov, Vadim" via perl5-porters
Date:
July 22, 2022 13:23
Subject:
perl -we '$00' dies in 5.32
Message ID:
PH0PR19MB5036FABF3083B6BA9046CCF98A909@PH0PR19MB5036.namprd19.prod.outlook.com
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 http://www.perl.org/, the Perl Home Page.


This works well in 5.26.0

What this behaviour degrade was for?



Internal Use - Confidential

Thread Next


nntp.perl.org: Perl Programming lists via nntp and http.
Comments to Ask Bjørn Hansen at ask@perl.org | Group listing | About