Skip to content

Commit 1cbb2cf

Browse files
committed
Merge pull request #266 from gfldex/master
doc Reversed Operators, the question "why?" remains unanswered.
2 parents c35787f + 8fe1835 commit 1cbb2cf

File tree

1 file changed

+5
-1
lines changed

1 file changed

+5
-1
lines changed

doc/Language/operators.pod

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -153,7 +153,11 @@ There are shortcuts for C<!==> and C<!eq>, namely C<!=> and C<ne>.
153153
say so $release !before $today; # True
154154
155155
=head2 Reversed Operators
156-
TODO
156+
157+
Any infix operator may be called with its two arguments reversed by prefixing
158+
with C<R>. Associativity of operands is reversed as well.
159+
160+
say [R/] 2, 4, 16; # 2
157161
158162
=head2 Hyper Operators
159163
TODO

0 commit comments

Comments
 (0)