Documentation for infix .=
assembled from the following pages:
Language documentation: Operators §
From Operators
(Operators) infix .= §
Calls the right-side method on the value in the left-side container, replacing the resulting value in the left-side container.
In most cases, this behaves identically to the postfix mutator, but the precedence is lower:
my = -5;say ++.=abs;# OUTPUT: Ā«6ā¤Ā»
say ++$a .= abs; # OUTPUT: Ā«Cannot modify an immutable Int⤠# in block <unit> at <tmp> line 1ā¤ā¤Ā»