summaryrefslogtreecommitdiff
path: root/pod
diff options
context:
space:
mode:
authorFather Chrysostomos <sprout@cpan.org>2011-02-12 10:00:25 -0800
committerFather Chrysostomos <sprout@cpan.org>2011-02-12 10:00:25 -0800
commit3303f755f725e8e6bda8938fabd6f02f2488a668 (patch)
tree7123dbafa4b3cded7177d4d4760a2a1c6e09616f /pod
parentffedb8cac4cef8f45c3d8879ddb708dc35dddd80 (diff)
downloadperl-3303f755f725e8e6bda8938fabd6f02f2488a668.tar.gz
Clean up perldiag/Ambiguous use resolved as operator
This entry was missing some words. I supplied them, fixed spelling mistakes, and reflowed it to look good under -Mdiagnostics.
Diffstat (limited to 'pod')
-rw-r--r--pod/perldiag.pod11
1 files changed, 6 insertions, 5 deletions
diff --git a/pod/perldiag.pod b/pod/perldiag.pod
index aa5b04fade..030cdcfc70 100644
--- a/pod/perldiag.pod
+++ b/pod/perldiag.pod
@@ -103,11 +103,12 @@ a missing quote, operator, parenthesis pair or declaration.
=item Ambiguous use of %c resolved as operator %c
(W ambiguous) C<%>, C<&>, and C<*> are both infix operators (modulus,
-bitwise and, and multpication), and you said something like C<*foo *
-foo> that might be interpreted as either of them. We assumed you
-meant the infix operator, but please try to make it more clear -- in
-the example given, you might write C<*foo * foo()> if you really meant
-to multiply a glob by the result of calling a function.
+bitwise and, and multiplication) I<and> initial special characters
+(denoting hashes, subroutines and typeglobs), and you said something
+like C<*foo * foo> that might be interpreted as either of them. We
+assumed you meant the infix operator, but please try to make it more
+clear -- in the example given, you might write C<*foo * foo()> if you
+really meant to multiply a glob by the result of calling a function.
=item Ambiguous use of %c{%s} resolved to %c%s