http://perldoc.perl.org/5.10.1/perlop.html#Logical-or,-Defined-or,-and-Exclusive-Or
Perhaps add your comments above as to the brief availablity of err after the mention of xor. Ikigama's observation that you might not even need the lower-precedence version would be good to tell people, too.