Documentation for infix mod assembled from the following pages:

Language documentation: Operators §

From Operators

(Operators) infix mod §

multi sub infix:<mod>(Int:D $aInt:D $b --> Int:D)

Integer modulo operator. Returns the remainder of an integer modulo operation.