Skip to content

Commit 258811b

Browse files
committed
Merge pull request #271 from gfldex/master
doc Nesting of Meta Operators
2 parents 95a0aab + 97cdd3d commit 258811b

File tree

1 file changed

+8
-1
lines changed

1 file changed

+8
-1
lines changed

doc/Language/operators.pod

Lines changed: 8 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -273,7 +273,14 @@ done by the optimizer. Most simple infix operators are supported.
273273
say so 1 S& 2 S& 3; # True
274274
275275
=head2 Nesting of Meta Operators
276-
TODO
276+
277+
To avoid ambiguity when chaining meta operators use square brackets to help the
278+
compiler to understand you.
279+
280+
my @a = 1,2,3;
281+
my @b = 5,6,7;
282+
@a X[+=] @b;
283+
say @a; # [19 20 21]
277284
278285
=head1 Z<>Term Precedence
279286

0 commit comments

Comments
 (0)