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

Re: patches wanted: default warnings/strict

Thread Previous | Thread Next
From:
Ricardo Signes
Date:
October 19, 2015 02:08
Subject:
Re: patches wanted: default warnings/strict
Message ID:
20151019020804.GA18956@cancer.codesimply.com
* Abigail <abigail@abigail.be> [2015-10-16T10:50:56]
> Having read the thread started off the link you provided, it
> isn't clear to me what 'use warnings "default"' enables.

The idea here is that the "all" group gets a subgroup, "xyzzy," which contains
all current warnings.  Later, warnings can be added to "all" that are only
enabled when specifically requested (or by the bold, explicit request for
everything we can throw at the programmer).

> "perldoc -f warnings" talks about default warnings, (as opposed
> to optional warnings), but when it comes down to discussing
> the warnings category hierarchie, there's no peep about
> mandatory vs optional anymore.

This terminology will need to be clear.  Either we stop calling the old
default-on warnings "default," or we call the new group "standard," or
something.  I think this will just be a naming quesiton, and shouldn't be too
much of a big deal.

-- 
rjbs

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