Книга: 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

Оглавление книги

Генерация: 0.727. Запросов К БД/Cache: 3 / 0
Вверх Вниз