- or download this
$x= cond() ? this() : that();
# vs.
...
} else {
$x= that();
}
- or download this
my $x= cond() ? this() : that();
# vs.
...
} else {
$x= that();
}
- or download this
$x= cond() ? this() : that();
# vs.
...
}
}
$x= pick();
- or download this
my $x= DoSomething(
cond() ? this() : that(),
...
foo() ? bar() : baz(),
$blah,
);
- or download this
s{
# Some fairly complex parsing regex
...
"somethingElse";
}
}gex;