Skip to content

Commit be6437f

Browse files
committed
perlop: Move trivial case to prominence
Otherwise this dangling sentence gets lost after the main part of the section.
1 parent 5a31280 commit be6437f

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

pod/perlop.pod

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1493,6 +1493,8 @@ X<operator, logical, or> X<operator, logical, xor>
14931493
X<operator, logical, exclusive or>
14941494
X<or> X<xor>
14951495

1496+
There is no low precedence operator for defined-OR.
1497+
14961498
Binary C<"or"> returns the logical disjunction of the two surrounding
14971499
expressions. It's equivalent to C<||> except for the very low precedence.
14981500
This makes it useful for control flow:
@@ -1520,7 +1522,6 @@ Then again, you could always use parentheses.
15201522
Binary C<"xor"> returns the exclusive-OR of the two surrounding expressions.
15211523
It cannot short-circuit (of course).
15221524

1523-
There is no low precedence operator for defined-OR.
15241525

15251526
=head2 C Operators Missing From Perl
15261527
X<operator, missing from perl> X<&> X<*>

0 commit comments

Comments
 (0)