Книги автора: Fedora™ Unleashed, 2008 edition
/ Книги автора: Fedora™ Unleashed, 2008 edition
/ honorato bonafe
Книга: Fedora™ Unleashed, 2008 edition
Compound Operators
Compound Operators
Perl uses compound operators, similar to those used by C or awk
, which can be used to combine other operations (such as comparisons or arithmetic) into more complex forms of logic. Table 25.3 shows the compound pattern operators and their behavior.
TABLE 25.3 Compound Pattern Operators in Perl
Operator | Meaning |
---|---|
&& |
Logical AND |
|| |
Logical OR |
! |
Logical NOT |
() | Parentheses; used to group compound statements |
Оглавление статьи/книги