develooper Front page | perl.perl5.porters | Postings from August 2021

Re: "use v5.36.0" should imply ASCII source

Thread Previous | Thread Next
Graham Knop
August 16, 2021 12:05
Re: "use v5.36.0" should imply ASCII source
Message ID:
On Fri, Aug 6, 2021 at 8:23 PM Paul "LeoNerd" Evans
<> wrote:
> It's far easier for everyone - implementation and users alike - to give
> a very simple rule:
>   After `use VERSION>=5.36` and until any `use utf8` there must be no
>   non-ASCII bytes whatsoever.

This would need the addition of "unless they are after an __END__
marker". I think it will inevitably make the rules for UTF-8 Pod

> Yes this does lead to an annoying dual declaration of both `use utf8`
> and `=encoding UTF-8` - perhaps that can be helped in some way?

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