in reply to if/else syntax

The closest thing I can think of, is using a return statement in your call. So you have to be specific in your usage. FYI, I use this syntax all the time because it is very easy to read.

sub checkConditions { my $value = shift; return someFunc() if $value == 0; return otherFunc(); }