Skip to content

Commit 98e39af

Browse files
committed
perlop: A few clarifications
1 parent e285151 commit 98e39af

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
@@ -1046,7 +1046,7 @@ X<//> X<operator, logical, defined-or>
10461046
Binary C<"||"> performs a short-circuit logical OR operation. That is,
10471047
if the left operand is true, the right operand is not even evaluated.
10481048
Scalar or list context propagates down to the right operand if it
1049-
is evaluated.
1049+
does get evaluated.
10501050

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

0 commit comments

Comments
 (0)