X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?a=blobdiff_plain;f=pod%2Fperllexwarn.pod;h=cd76f3af402ed52b9bbe4f73b5d8b257df2132e6;hb=824215e2e3b067efbb0104afd616d77cb9526d1a;hp=951a470b2e59930d88cc428f18a0b6fd42110b38;hpb=cea6626fc5e04af2c1d079dd4d3784eb2c21174b;p=p5sagit%2Fp5-mst-13.2.git diff --git a/pod/perllexwarn.pod b/pod/perllexwarn.pod index 951a470..cd76f3a 100644 --- a/pod/perllexwarn.pod +++ b/pod/perllexwarn.pod @@ -207,8 +207,6 @@ The current hierarchy is: all -+ | - +- chmod - | +- closure | +- exiting @@ -285,8 +283,6 @@ The current hierarchy is: | +- taint | - +- umask - | +- uninitialized | +- unpack @@ -346,6 +342,12 @@ The scope where C is used has escalated the C warnings category into a fatal error, so the program terminates immediately it encounters the warning. +To explicitly disable a "FATAL" warning you just disable the warning it is +associated with. So, for example, to disable the "void" warning in the +example above, either of these will do the trick: + + no warnings qw(void); + no warnings FATAL => qw(void); =head2 Reporting Warnings from a Module