Front page | perl.perl5.porters |
Postings from June 2020
Re: Announcing Perl 7
Thread Previous
|
Thread Next
From:
Paul "LeoNerd" Evans
Date:
June 30, 2020 11:42
Subject:
Re: Announcing Perl 7
Message ID:
20200630124246.179b4f8f@shy.leonerd.org.uk
On Tue, 30 Jun 2020 01:56:30 -0500
Todd Rinaldo <toddr@cpanel.net> wrote:
> > On Jun 29, 2020, at 3:56 AM, Paul LeoNerd Evans
> > <leonerd@leonerd.org.uk> wrote:
> >
> > Todd, please explain how github's syntax highlighter checks the
> > value of $] when highlighting a .pm file.
> >
> > Or for that matter even metacpan.org. How will our own
> > infrastructure know what version of perl syntax rules to be using
> > when highlighting our own code?
> >
>
> It doesn't. That is a good point.
Thank you.
So, we can accept that "use v7" would be one possible mechanism by which
metacpan, github, perltidy, etc. can all use to determine what syntax
rules and hence what highlighting and formatting to apply. But likely
there may be others.
Can we think of any others? If you want to strongly make the case that
"use v7" will not be required, you will have to find a different
mechanism by which all of the above can continue to do the right 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