develooper Front page | perl.perl5.porters | Postings from January 2020

Re: no feature 'indirect';

Thread Previous | Thread Next
From:
Dan Book
Date:
January 27, 2020 16:57
Subject:
Re: no feature 'indirect';
Message ID:
CABMkAVWCFe19u8n4uYKf13iS+nkrZVrQuJgu71xCkKQTEGEvxw@mail.gmail.com
On Mon, Jan 27, 2020 at 11:43 AM Sergey Aleynikov <
sergey.aleynikov@gmail.com> wrote:

> вс, 26 янв. 2020 г. в 19:56, Dagfinn Ilmari Mannsåker <ilmari@ilmari.org>:
> > The ability to turn it of will definitely be 5.32.  The open question is
> > whether to remove it from the :5.32 feature bundle, so that "use v5.32;"
> > or "use feature ':5.32';" or "perl -E" will disable it by default.  I'm
> > leaning towards "no", since we're now in the contentious change freeze
> > period.
>
> If by "disable it by default" you mean that indirect syntax will be
> forbidden under perl -E, than all the following modules would become
> broken, despite theirs tests passing:
>
> http://grep.cpan.me/?q=new+%5BA-Z%5D%5Ba-z%5D%2B+file%3A.pm


They would not, it is a lexical parser effect. The change to -E will only
apply to what is written within the -E (and this has been "broken" by
previous changes to feature bundles).

-Dan

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