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

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

Thread Previous | Thread Next
Ed Avis
June 4, 2015 17:44
Re: for 5.24: new categories for strict/warnings?
Message ID:
I would quite like a setting for:

   Please give me the latest and greatest set of recommended warnings as
   decided by the p5-porters.  Yes, I understand that when new warnings are
   added to the recommended set I will see new warnings.  Yes, I know that
   a new perl version might "break" my program.  That's fine.  I also know
   that conceivably, warnings might be removed from the recommended set.

This is not quite the same thing as

   Give me all possible warnings that perl is capable of generating

Therefore, while there is certainly a use for making available

   use warnings 'all';

I don't think that can be the only or the standard way to participate in any
new warnings that will be added to perl in future.  Personally I would like
plain old 'use warnings' to improve over time, adding new ones, but if that
is impossible then there must be some incantation which requests new warnings
without having to turn on *all* of them.

Ed Avis <>

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