$x = $y if ($x > 1); #the assignment happens IFF the condition is true.

#we prefer:
if ($x > 1) {$x = $y} #which does exactly the same
