http://qs321.pair.com?node_id=608334


in reply to Re: My habitual errors
in thread My habitual errors

For comparisons that have a constant I keep that value on the left hand side to avoid accidental assignment. Doesn't work for expressions that use two variables of course.
if (0 == $n) { } elsif (1 == $n) { }