Raku Books / Perl 6 at a Glance / Operators / Meta-operators

Negation

The negating exclamation mark ! is used to create the next set of meta-operators. If it is prepended to the existing operator op, you get the operator that gives you the negated result !op.

say "no" if "abcd" !~~ "e";

Course navigation

Assignment   |   Reverse operator