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.
| Prev | Home (Copyright Gabor Szabo) Perl Training Israel | Next |
| Compare values - examples | Up | TRUE and FALSE |