in reply to Operator precedence (or, I'm an idiot)

use warnings;
Update: This will catch only some cases.