X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?a=blobdiff_plain;f=warnings.pl;h=eff8d60f95be0b83bfc5d82a8ef26f8484f63bc5;hb=ab1db26f7811bf020db962c2e9f51e9af45f1a8f;hp=875d91e3143e8a51c54d77c80e7555567a8ceabc;hpb=8fa7688f7865696bdfa78bc12d4ffb78bd1d6103;p=p5sagit%2Fp5-mst-13.2.git diff --git a/warnings.pl b/warnings.pl index 875d91e..eff8d60 100644 --- a/warnings.pl +++ b/warnings.pl @@ -1,7 +1,6 @@ #!/usr/bin/perl - -$VERSION = '1.00'; +$VERSION = '1.01'; BEGIN { push @INC, './lib'; @@ -476,7 +475,7 @@ __END__ package warnings; -our $VERSION = '1.00'; +our $VERSION = '1.02'; =head1 NAME @@ -509,6 +508,10 @@ warnings - Perl pragma to control optional warnings =head1 DESCRIPTION +The C 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 for more information. + If no import list is supplied, all possible warnings are either enabled or disabled.