my $x = condition() ? "a" : "b";
print "x is $x\n";

sub condition {
    # return 1; # true
    return 0; # false
}