RosettaCodeData/Task/Inverted-syntax/Perl/inverted-syntax-2.pl
Ingy döt Net db842d013d A-M baby
2013-04-10 21:29:02 -07:00

4 lines
213 B
Raku

# Note that the results obtained by the inverted syntax form
# may produce differing results from the traditional syntax form
$a = $ok ? $b : $c; # Traditional syntax
($ok ? $b : $c) = $a; # Inverted syntax