summaryrefslogtreecommitdiff
path: root/warnings.pl
diff options
context:
space:
mode:
Diffstat (limited to 'warnings.pl')
-rw-r--r--warnings.pl4
1 files changed, 4 insertions, 0 deletions
diff --git a/warnings.pl b/warnings.pl
index b720274e84..eff8d60f95 100644
--- a/warnings.pl
+++ b/warnings.pl
@@ -508,6 +508,10 @@ warnings - Perl pragma to control optional warnings
=head1 DESCRIPTION
+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.
+
If no import list is supplied, all possible warnings are either enabled
or disabled.