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

Re: Announcing Perl 7

Thread Previous | Thread Next
Paul "LeoNerd" Evans
July 1, 2020 10:07
Re: Announcing Perl 7
Message ID:
On Tue, 30 Jun 2020 16:16:47 -0700
Darren Duncan <> 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      |  |

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