Prefix operators are those that come in front of their operands. Obviously, prefix operators require only one operand. In some cases, the symbol of the operation can be used as an infix operator when it stands between two operands.
! is the Boolean negation operator.
say !True;Β Β Β Β # False say !(1 == 2); # True
The not operator does the same but has lower precedence.
say not False; # True