Skip to content

Commit 39b51b1

Browse files
committed
[operators] infix orelse
1 parent ff783b8 commit 39b51b1

File tree

1 file changed

+8
-1
lines changed

1 file changed

+8
-1
lines changed

lib/operators.pod

Lines changed: 8 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1103,9 +1103,16 @@ Short-circuits.
11031103
11041104
=head2 infix or
11051105
1106-
Same as L<#infix ||>, except with looser precedence.
1106+
Same as C<infix ||>, except with looser precedence.
11071107
11081108
Returns the first argument that evaluates to C<True> in boolean context,
11091109
or otherwise the last argument. Short-circuits.
11101110
1111+
=head2 infix orelse
1112+
1113+
Same as C<infix //>, except with looser precedence.
1114+
1115+
Returns the first undefined argument, or else the last argument.
1116+
Short-circuits.
1117+
11111118
=end pod

0 commit comments

Comments
 (0)