Skip to content

Commit d6d9770

Browse files
committed
perlop: A few clarifications
1 parent f4271db commit d6d9770

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

pod/perlop.pod

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ means that Perl has two versions of some operators, one for numeric
1818
and one for string comparison. For example S<C<$x == $y>> compares
1919
two numbers for equality, and S<C<$x eq $y>> compares two strings.
2020

21-
There are a few exceptions though: C<x> can be either string
21+
There are a few exceptions though: The operator C<x> can be either string
2222
repetition or list repetition, depending on the type of the left
2323
operand, and C<&>, C<|>, C<^> and C<~> can be either string or numeric bit
2424
operations.
@@ -216,7 +216,7 @@ Also parsed as terms are the S<C<do {}>> and S<C<eval {}>> constructs, as
216216
well as subroutine and method calls, and the anonymous
217217
constructors C<[]> and C<{}>.
218218

219-
See also L</Quote and Quote-like Operators> toward the end of this section,
219+
See also L</Quote and Quote-like Operators> below,
220220
as well as L</"I/O Operators">.
221221

222222
=head2 The Arrow Operator
@@ -1038,7 +1038,7 @@ X<//> X<operator, logical, defined-or>
10381038
Binary C<"||"> performs a short-circuit logical OR operation. That is,
10391039
if the left operand is true, the right operand is not even evaluated.
10401040
Scalar or list context propagates down to the right operand if it
1041-
is evaluated.
1041+
does get evaluated.
10421042

10431043
As an alternative to C<||> when used for control flow, Perl provides the
10441044
C<or> operator (L<see below|/Logical or and Exclusive Or>).

0 commit comments

Comments
 (0)