Skip to content

Commit

Permalink
Provide a simpler example for reversed operators
Browse files Browse the repository at this point in the history
Reversed operators are taught before operator reduction, so give an example that does not depend on operator reduction
  • Loading branch information
pdl committed Feb 3, 2016
1 parent e9483ab commit fcfa134
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions doc/Language/operators.pod
Expand Up @@ -163,6 +163,7 @@ There are shortcuts for C<!==> and C<!eq>, namely C<!=> and C<ne>.
Any infix operator may be called with its two arguments reversed by prefixing
with C<R>. Associativity of operands is reversed as well.
say 4 R/ 12; # 3
say [R/] 2, 4, 16; # 2
=head2 Hyper Operators
Expand Down

0 comments on commit fcfa134

Please sign in to comment.