summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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.