summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDavid Golden <dagolden@cpan.org>2012-02-04 20:28:05 -0500
committerDavid Golden <dagolden@cpan.org>2012-02-04 20:28:05 -0500
commit28726416d95521b60f6363eadbe1cdf67f66d00a (patch)
tree634b434ec6b175f2396069e10171cc49edfdaf25
parent6cc4552359b3a4afd374326d64c09a19ec5b708f (diff)
downloadperl-28726416d95521b60f6363eadbe1cdf67f66d00a.tar.gz
warnings.pm docs: clarify categories are in perllexwarn
-rw-r--r--lib/warnings.pm3
-rw-r--r--regen/warnings.pl3
2 files changed, 4 insertions, 2 deletions
diff --git a/lib/warnings.pm b/lib/warnings.pm
index 5aef8eaaf8..3b2d87dc82 100644
--- a/lib/warnings.pm
+++ b/lib/warnings.pm
@@ -47,7 +47,8 @@ warnings - Perl pragma to control optional warnings
The C<warnings> pragma is a replacement for the command line flag C<-w>,
but the pragma is limited to the enclosing block, while the flag is global.
-See L<perllexwarn> for more information.
+See L<perllexwarn> for more information and the list of built-in warning
+categories.
If no import list is supplied, all possible warnings are either enabled
or disabled.
diff --git a/regen/warnings.pl b/regen/warnings.pl
index b3e1c043dd..d990a6c8a5 100644
--- a/regen/warnings.pl
+++ b/regen/warnings.pl
@@ -469,7 +469,8 @@ warnings - Perl pragma to control optional warnings
The C<warnings> pragma is a replacement for the command line flag C<-w>,
but the pragma is limited to the enclosing block, while the flag is global.
-See L<perllexwarn> for more information.
+See L<perllexwarn> for more information and the list of built-in warning
+categories.
If no import list is supplied, all possible warnings are either enabled
or disabled.