On Thu, Oct 15, 2015 at 10:27:27PM -0400, Ricardo Signes wrote: > Hey, remember the big thread about making "use warnings" mean "use warnings > 'default'" and that? No? It was here: > > http://nntp.perl.org/group/perl.perl5.porters/228400 > > I'd been hoping to get to this myself, but it hasn't happened. I'd like to get > this ready for smoking so we can hopefully make this change for 5.24. > > I think it should mostly be "work" and not "deep, hard thinking." I could be > wrong. > > Who's up for it? Having read the thread started off the link you provided, it isn't clear to me what 'use warnings "default"' enables. "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. Now, perldiag classifies warnings in 6 classes (not counting the non-Perl ones), with one class marked "optional". But this classificiation is orthogonal to categories that can be imported with "use warnings". Is "default" not a class (or group of classes), but is it to act as a filter (you get some warnings from all the categories you import)? AbigailThread Previous | Thread Next