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

Re: Announcing Perl 7

Thread Previous | Thread Next
From:
demerphq
Date:
June 26, 2020 14:49
Subject:
Re: Announcing Perl 7
Message ID:
CANgJU+U6S-tsyGcPb9jYDae_LtJy0nTPk1aavUwrvsTYYxQp7g@mail.gmail.com
On Fri, 26 Jun 2020 at 15:45, David Mertens <dcmertens.perl@gmail.com> wrote:
>
> Yves' comments have significantly clarified something for me, which is that CPAN authors will explicitly specify their Perl version whether we use Dave Mitchell's idea (users must explicitly "use v7") or Sawyer's idea (user's get the latest if they do not use a specific version). The difference is how Perl parses a script/module that *does not* specify a version. Under Dave they get the oldest; under Sawyer they get the newest. CPAN authors seeking stability will always declare the version of Perl they want. Thus the boilerplate for any wise CPAN author is still nonzero, but still really quite small.

I may be wrong and the plan has changed since last Sawyer and I
talked, but i believe that the use of "strict" in your code already
triggers the correct assumptions about the code. Thus the affected
code base of this change is the tiny set of scripts which do not use
strict and which expect to have the old behavior.

Since "use strict;" is more or less ubiquitous in most quality code, I
believe the impact of this change will be very limited.

cheers,
Yves

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