Documentation for routine .

Documentation for routine ., assembled from the following types:

language documentation Operators

From Operators

(Operators) postfix .

The operator for calling one method, $invocant.method.

Technically this is not an operator, but syntax special-cased in the compiler.

language documentation Operators

From Operators

(Operators) infix .

Calls the following method (whose name must be alphabetic) on the left-side invocant.

Note that the infix form of the operator has a slightly lower precedence than postfix .meth.

say -5.abs;      # like: -(5.abs) 
# OUTPUT: «-5␤» 
say -5 . abs;    # like: (-5) . abs 
# OUTPUT: «5␤» 
say -5 .abs;     # following whitespace is optional 
# OUTPUT: «5␤»