- or download this
my $x = $condition ? $a : $b;
- or download this
(my $x = $condition) ? $a : $b
- or download this
# program (note that Perl 6 uses ??!! instead of ?:)
1 ?? $_ = 3 !! $_ = 5
# output from the Perl 6 standard grammar:
Precedence of = is too loose to use between ?? and !!; please use pare
+ns around inner expression at ...