develooper Front page | perl.perl5.porters | Postings from June 2015

Re: for 5.24: new categories for strict/warnings?

Thread Previous | Thread Next
Eric Brine
June 3, 2015 14:21
Re: for 5.24: new categories for strict/warnings?
Message ID:
On Wed, Jun 3, 2015 at 9:15 AM, Ricardo Signes <>

> What is preventing us from changing the meaning of:
>   use strict;    # which acts like: use strict 'all'
>   use warnings;  # which means    : use warnings 'all'
> Why not make them mean:
>   use strict 'default';
>   use warnings 'default';

For strict, why not use a version argument like `use feature`?

(It would be nice if `use feature` actually changed the meaning of `use
strict;`, but I suspect that would be too complicated.)

For warnings, that's a backwards compatible change I oppose. I was promised
that `use warnings;` would enable all warnings, and I've been recommending
its usage on that basis for a decade.

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