In perl.git, the branch blead has been updated

<http://perl5.git.perl.org/perl.git/commitdiff/a7f6e211947a6eec78d594aaf629ee4990994c2b?hp=ee37b3b920711e4770ee5a965bc1723c7c23ebcc>

- Log -----------------------------------------------------------------
commit a7f6e211947a6eec78d594aaf629ee4990994c2b
Author: Father Chrysostomos <[email protected]>
Date:   Sat Feb 12 13:15:46 2011 -0800

    Correct perldiag/Ambiguous use of -%s
    
    Use of -foo to mean "-foo" is valid even in strict mode.
-----------------------------------------------------------------------

Summary of changes:
 pod/perldiag.pod |    5 ++---
 1 files changed, 2 insertions(+), 3 deletions(-)

diff --git a/pod/perldiag.pod b/pod/perldiag.pod
index fd6f17c..51ed36a 100644
--- a/pod/perldiag.pod
+++ b/pod/perldiag.pod
@@ -140,9 +140,8 @@ simply turning off warnings with C<no warnings 
'ambiguous';>.
 =item Ambiguous use of -%s resolved as -&%s()
 
 (W ambiguous) You wrote something like C<-foo>, which might be the
-string C<"-foo"> (outside of C<use strict 'subs'>), or a call to the
-function C<foo>, negated.  If you meant the string, just write
-C<"-foo">, and please use strict.  If you meant the function call,
+string C<"-foo">, or a call to the function C<foo>, negated.  If you meant
+the string, just write C<"-foo">.  If you meant the function call,
 write C<-foo()>.
 
 =item '|' and '<' may not both be specified on command line

--
Perl5 Master Repository

Reply via email to