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

Re: Announcing Perl 7 Perl5 Porters <perl5-porters@perl.org>

Thread Previous | Thread Next
From:
Paul "LeoNerd" Evans
Date:
June 30, 2020 11:37
Subject:
Re: Announcing Perl 7 Perl5 Porters <perl5-porters@perl.org>
Message ID:
20200630123748.0e59768f@shy.leonerd.org.uk
On Tue, 30 Jun 2020 12:02:10 +0200
Salvador Fandiño <sfandino@gmail.com> wrote:

> It you want to avoid the "use v7;" line, then you should be able to
> tell perl explicitly in some way you want the 7 semantics. The only
> sane way I can see for that, is using different file terminations.
> I.e. p7, pl7, pm7, t7.
> 
> And when perl 8 comes out, you can switch to p8, pl8, etc.

This would be an odd suggestion.

I believe the main motivation for people saying they don't want to
"use v7" is precisely to avoid having to update to "use v8" and so on
in the future; having to chase the latest-and-greatest by making a
single character change to their code every decade or so.

If they don't want to do that, I really don't think they will want to
rename their files either. In practice it amounts to the same thing.

-- 
Paul "LeoNerd" Evans

leonerd@leonerd.org.uk      |  https://metacpan.org/author/PEVANS
http://www.leonerd.org.uk/  |  https://www.tindie.com/stores/leonerd/

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