summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorElizabeth Mattijsen <liz@dijkmat.nl>2003-08-14 15:12:55 +0200
committerJarkko Hietaniemi <jhi@iki.fi>2003-08-14 14:17:42 +0000
commitfe2e802c4d2b58a658b8e1b2dcc86f8373006bab (patch)
treeecf18de3d8fcac168fb10026e7978db3e923f8ec
parent09c2a9b8ffd642eb76914fe4644328fdda59c63c (diff)
downloadperl-fe2e802c4d2b58a658b8e1b2dcc86f8373006bab.tar.gz
[DOC PATCH] warnings.pl
Message-id: <p05111b00bb611e8835e0@[192.168.56.3]> (some rewording) p4raw-id: //depot/perl@20701
-rw-r--r--lib/warnings.pm4
-rw-r--r--warnings.pl4
2 files changed, 8 insertions, 0 deletions
diff --git a/lib/warnings.pm b/lib/warnings.pm
index 6982b2cbc1..705548a976 100644
--- a/lib/warnings.pm
+++ b/lib/warnings.pm
@@ -39,6 +39,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.
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.