CLI example #4
$ p6doc operators
TITLE - Operators
Operator Precedence
In an expression like 1 + 2 * 3, the 2 * 3 is evaluated first
because the infix * has tighter precedence than the +.
The following table summarizes the precedence levels in Perl 6,
from tightest to loosest:
A Level Examples
N Terms 42 3.14 "eek" qq["foo"] $x :!verbose @$array
L Method postfix .meth .+ .? .* .() .[] .{} .<> .«» .:: .= .^ .:
N Autoincrement ++ --
R Exponentiation **
...