June 2002
Beginner
759 pages
80h 42m
English
Perl has two classes of relational operators. One
class operates on numeric values, and the other operates on string
values. String comparisons are based on the ASCII collating
sequence. Relational operators are nonassociative, so $a < $b < $c is a syntax
error.
Numeric | String | Meaning |
|---|---|---|
| | Greater than |
| | Greater than or equal to |
| | Less than |
| | Less than or equal to |