http://www.perlmonks.org?node_id=210243


in reply to If Statement

alternatives:
a = b if ($a != $b);

$a != $b and a = b;


HTH