summaryrefslogtreecommitdiff
path: root/pod/perlrun.pod
diff options
context:
space:
mode:
authorÆvar Arnfjörð Bjarmason <avar@cpan.org>2015-01-25 14:10:13 +0000
committerÆvar Arnfjörð Bjarmason <avar@cpan.org>2015-01-25 15:16:21 +0000
commit3c3f8cd64edb32a0dac554f7a524cc222184c3ec (patch)
treea75cb811c9660e61940c6d7529b62ee7e9777163 /pod/perlrun.pod
parent75debb79e45d698f62a32fcd7d1b020a8a677eda (diff)
downloadperl-3c3f8cd64edb32a0dac554f7a524cc222184c3ec.tar.gz
Revert the support for new warning categories outside of "all"
This reverts & amends my v5.21.7-151-gea5519d and Karl Williamson's v5.21.7-183-g2f3cbe1, the latter was only need because of the former. I've also taken the opportunity to fix the long-standing trivial bug with misaligned code in warnings.{pm,h}. That was easier to commit along with this than to split it up from the other generated changes. Why revert this? See the "use warnings 'absolutely-all-almost';" thread on perl5-porters for the latest summary: http://www.nntp.perl.org/group/perl.perl5.porters/2015/01/msg225066.html Basically as I explained in v5.21.7-151-gea5519d the current design of the API makes it too contentious to freely add new warnings, but there's no consensus on how to solve that. I.e. whether we should just add them to "all", or do this change, or several other possible things outlined in that thread and elsewhere. Since the deadline for contentious changes for v5.22 is already past us I'm backing this out for now.
Diffstat (limited to 'pod/perlrun.pod')
-rw-r--r--pod/perlrun.pod4
1 files changed, 2 insertions, 2 deletions
diff --git a/pod/perlrun.pod b/pod/perlrun.pod
index 0964a42eea..acf270221d 100644
--- a/pod/perlrun.pod
+++ b/pod/perlrun.pod
@@ -925,13 +925,13 @@ of warnings; see L<warnings>.
=item B<-W>
X<-W>
-Enables "all" warnings regardless of C<no warnings> or C<$^W>.
+Enables all warnings regardless of C<no warnings> or C<$^W>.
See L<warnings>.
=item B<-X>
X<-X>
-Disables "all" warnings regardless of C<use warnings> or C<$^W>.
+Disables all warnings regardless of C<use warnings> or C<$^W>.
See L<warnings>.
=item B<-x>