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

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

Thread Previous | Thread Next
From:
Ed Avis
Date:
June 4, 2015 17:44
Subject:
Re: for 5.24: new categories for strict/warnings?
Message ID:
loom.20150604T193632-929@post.gmane.org
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 <eda@waniasset.com>


Thread Previous | Thread Next


nntp.perl.org: Perl Programming lists via nntp and http.
Comments to Ask Bjørn Hansen at ask@perl.org | Group listing | About