// returns the first defined operand. The operator is called a defined-or operator. It is also is a shortcut operator.
my $x; my $y = 42; my $z; say $x // $y // $z; # 42
Science, Programming, Electronics, Languages
N. B. Perl 6 has been renamed to Raku. Click to read more.
// returns the first defined operand. The operator is called a defined-or operator. It is also is a shortcut operator.
my $x; my $y = 42; my $z; say $x // $y // $z; # 42