summaryrefslogtreecommitdiff
path: root/pod/perlop.pod
diff options
context:
space:
mode:
authorSteve Peters <steve@fisharerojo.org>2005-12-17 15:41:38 +0000
committerSteve Peters <steve@fisharerojo.org>2005-12-17 15:41:38 +0000
commit06705523e0517b0027174c49916c620f6946316f (patch)
tree1b774c92f9964737b0e0ca6003a500fd9c5abf82 /pod/perlop.pod
parent8705167b57c0f17d383e9e8ced641c8a486046b2 (diff)
downloadperl-06705523e0517b0027174c49916c620f6946316f.tar.gz
Fix a typo and add some clarification to change #26387.
p4raw-link: @26387 on //depot/perl: 8705167b57c0f17d383e9e8ced641c8a486046b2 p4raw-id: //depot/perl@26388
Diffstat (limited to 'pod/perlop.pod')
-rw-r--r--pod/perlop.pod8
1 files changed, 4 insertions, 4 deletions
diff --git a/pod/perlop.pod b/pod/perlop.pod
index 6afe47387c..84cd866b24 100644
--- a/pod/perlop.pod
+++ b/pod/perlop.pod
@@ -200,10 +200,10 @@ concatenated with the identifier is returned. Otherwise, if the string
starts with a plus or minus, a string starting with the opposite sign
is returned. One effect of these rules is that -bareword is equivalent
to the string "-bareword". If, however, the string begins with a
-non-alphabetic characters, Perl will attempt to convert the string to a numeric
-and the arithmetic negation is performed. If the string cannot be cleanly
-converted to a numeric, Perl will give the warning B<Argument "the string"
-isn't numeric in negation (-) at ...>.
+non-alphabetic character (exluding "+" or "-"), Perl will attempt to convert
+the string to a numeric and the arithmetic negation is performed. If the
+string cannot be cleanly converted to a numeric, Perl will give the warning
+B<Argument "the string" isn't numeric in negation (-) at ...>.
X<-> X<negation, arithmetic>
Unary "~" performs bitwise negation, i.e., 1's complement. For