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

RE: perl -we '$00' dies in 5.32

Thread Previous | Thread Next
From:
"Konovalov, Vadim" via perl5-porters
Date:
July 24, 2022 10:49
Subject:
RE: perl -we '$00' dies in 5.32
Message ID:
PH0PR19MB5036A8B6627D2AA986DCC2888A929@PH0PR19MB5036.namprd19.prod.outlook.com
> I am not thinking about regexp match at all.

> use strict;
>     my $bar = "foo";
>     print ${bar}; # prints "foo"
> 
> With
> variables such as '$00', '$010', ... you can not do the same, i.e.:
> 
>     use strict;
>     $010 = "foo";
>     print ${010};  # will *not* print "foo"

Fair enough.
Thanks for the explanations!


Internal Use - Confidential

Thread Previous | 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