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

Re: Announcing Perl 7

Thread Previous | Thread Next
June 26, 2020 18:25
Re: Announcing Perl 7
Message ID:
On Fri, 26 Jun 2020 at 18:03, Dave Mitchell <> wrote:
> So for example,  running a plain perl script using a perl7 interpreter is
> as if the following lines had been injected at the top of the script:
>     use warnings;
>     use strict;
>     use feature 'signatures';
>     no feature 'indirect';
>     ... etc ...
> is that the same as your understanding?

Depends on your definition of "as if".

If it means "exactly the same as", then no, that isnt my expectation.

If it means "produces the same practical outcome for the developer" then yes.

Meaning that if my understanding of what "use strict;" will imply is
correct then we would probably not make the v7 semantics actually
trigger, the latter would be used only in legacy code.

Anyway, i really hope Sawyer or Todd speak up here. Maybe i have got
the whole strict thing totally wrong. Shrug.


perl -Mre=debug -e "/just|another|perl|hacker/"

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