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

Re: use v5.36; use warnings;

Thread Previous | Thread Next
Martijn Lievaart
May 30, 2021 12:58
Re: use v5.36; use warnings;
Message ID:

Op 30-05-2021 om 02:43 schreef Darren Duncan:
> As for the inconsistency this would raise with "no strict", I propose 
> the solution is simply to emit a warning in any program that has a "no 
> strict" prior to a "use 5.36" and the warning would say the statements 
> should be reordered so the "no strict" appears afterwards.
> That solution means actual programs are consistent in appearance and 
> behavior. While "no strict" would still suppress strict if used first, 
> anyone attempting to use it would be warned to stop doing so, and so 
> that behavior becomes unused.

I would say this is the most sensible solution.


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