if(my $x = expr) { ... } # my always executed my $x if expr; # my is conditional if(expr) { my $x } # as above