Front page | perl.perl5.porters |
Postings from July 2020
Re: Announcing Perl 7
Thread Previous
|
Thread Next
From:
Paul "LeoNerd" Evans
Date:
July 1, 2020 10:07
Subject:
Re: Announcing Perl 7
Message ID:
20200701110741.7cf45934@shy.leonerd.org.uk
On Tue, 30 Jun 2020 16:16:47 -0700
Darren Duncan <darren@darrenduncan.net> wrote:
> I strongly disagree with "compat::perl7"; what they should be doing
> then is adding "use v7;" which is the exact same thing they could
> have added before but didn't, and that would still work on Perl 7.
+1 to that.
> > It doesn't makes sense to me.
> >
> > 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.
>
> I typically consider that adding new version-specific filename
> extensions is a horrible idea. I hated the .pl6/.p6 extensions
> (.raku was so much better) and I hate the idea of pl7 etc. Stick to
> .pl/.pm and recognize versions by the contents of the files.
+1 also.
I believe we are in complete agreement here :)
--
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