Table 5-3. Logical operators
if (COND and COND) { } if (COND or COND) { } if (not COND) { }
See also perldoc perlop for precedence and associativity tables and/or use () to define the order of evaluation.