This is a live mirror of the Perl 5 development currently hosted at https://github.com/perl/perl5
Remove a spurious undefined warning when using getopts.pl with -w.
[perl5.git] / lib / strict.pm
index 40fb56e..d14391a 100644 (file)
@@ -115,7 +115,7 @@ on the left hand side of the C<< => >> symbol.
 
     use strict 'subs';
     $SIG{PIPE} = Plumber;      # blows up
-    $SIG{PIPE} = "Plumber";    # just fine: bareword in curlies always ok
+    $SIG{PIPE} = "Plumber";    # just fine: quoted string is always ok
     $SIG{PIPE} = \&Plumber;    # preferred form
 
 =back