Perl Programming/Keywords/cmp

The cmp keyword
cmp is a binary function that returns -1, 0, or 1 depending on whether the left argument is stringwise less than, equal to, or greater than the right argument. In other words, cmp does the same textually what the binary function <=> does.

Examples
The code