In perl.git, the branch rjbs/lexwarn has been updated <http://perl5.git.perl.org/perl.git/commitdiff/bd2c5cb2b1abbc2cf458238123e3de51bece20f5?hp=efd12ca9e4a0a9a6e9a7d2446d2f96a0674cc353>
- Log ----------------------------------------------------------------- commit bd2c5cb2b1abbc2cf458238123e3de51bece20f5 Author: Ricardo Signes <[email protected]> Date: Tue Mar 18 13:16:08 2014 -0400 warnings.pm: improve awkward sentence in pod ----------------------------------------------------------------------- Summary of changes: regen/warnings.pl | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/regen/warnings.pl b/regen/warnings.pl index 0b4fe98..8c7554f 100644 --- a/regen/warnings.pl +++ b/regen/warnings.pl @@ -511,10 +511,10 @@ unless ( __FILE__ =~ /(^|[\/\\])\Q${\__PACKAGE__}\E\.pmc?$/ ) { =head1 DESCRIPTION -The C<use warnings> pragma enables to control precisely what warnings are -to be enabled in which parts of a Perl program. It's a more flexible -alternative for both the command line flag B<-w> and the equivalent Perl -variable, C<$^W>. +The C<warnings> pragma gives control over which warnings are enabled in +which parts of a Perl program. It's a more flexible alternative for +both the command line flag B<-w> and the equivalent Perl variable, +C<$^W>. This pragma works just like the C<strict> pragma. This means that the scope of the warning pragma is limited to the -- Perl5 Master Repository
