Perl provides two sets of comparison operators; one set for working with numbers, and one set for working with strings.
Numbers | Strings |
---|---|
| |
| |
| |
| |
| |
| |
| |
Do not use the number comparison operators on non-numeric strings. Likewise, do not use the string comparison operators on numbers.
...