Integer-comparison operators. : Comparison Operators « Language Basics « Perl
- Perl
- Language Basics
- Comparison Operators
Integer-comparison operators.
Operator Description
< Less than
> Greater than
== Equal to
<= Less than or equal to
>= Greater than or equal to
!= Not equal to
<=> Comparison returning 1, 0, or -
Related examples in the same category