summaryrefslogtreecommitdiff
path: root/pod/perlfaq7.pod
diff options
context:
space:
mode:
authorRafael Garcia-Suarez <rgarciasuarez@gmail.com>2004-11-17 10:22:52 +0000
committerRafael Garcia-Suarez <rgarciasuarez@gmail.com>2004-11-17 10:22:52 +0000
commit28b41a8090d259cff9b1dd87c0c53b3c4a31e822 (patch)
tree82cf112c535e471ad21a6b91f9a020115eb7a66d /pod/perlfaq7.pod
parent4cdaeff7d67594a60bccc7882d3197ee0420932d (diff)
downloadperl-28b41a8090d259cff9b1dd87c0c53b3c4a31e822.tar.gz
PerlFAQ sync.
p4raw-id: //depot/perl@23509
Diffstat (limited to 'pod/perlfaq7.pod')
-rw-r--r--pod/perlfaq7.pod12
1 files changed, 11 insertions, 1 deletions
diff --git a/pod/perlfaq7.pod b/pod/perlfaq7.pod
index e6d4e5c89e..54e91bda9b 100644
--- a/pod/perlfaq7.pod
+++ b/pod/perlfaq7.pod
@@ -1,6 +1,6 @@
=head1 NAME
-perlfaq7 - General Perl Language Issues ($Revision: 1.17 $, $Date: 2004/10/19 22:53:50 $)
+perlfaq7 - General Perl Language Issues ($Revision: 1.18 $, $Date: 2004/11/03 22:54:08 $)
=head1 DESCRIPTION
@@ -97,6 +97,16 @@ See L<perllexwarn> for more details.
no warnings; # temporarily turn off warnings
$a = $b + $c; # I know these might be undef
}
+
+Additionally, you can enable and disable categories of warnings.
+You turn off the categories you want to ignore and you can still
+get other categories of warnings. See L<perllexwarn> for the
+complete details, including the category names and hierarchy.
+
+ {
+ no warnings 'uninitialized';
+ $a = $b + $c;
+ }
If you have an older version of Perl, the C<$^W> variable (documented
in L<perlvar>) controls runtime warnings for a block: