From Synopsis 4:
if testa() -> $a { say $a } elsif testb() -> $b { say $b } else -> $b { say $b }
Good Day,
Dean
In reply to Re: What about if (my $var = foo()) { ... }
by duelafn
in thread What about if (my $var = foo()) { ... }
by Limbic~Region
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |