In Perl, a comparison operator for strings, similar to the numeric comparison operator '<=>'.

<=> and cmp return:

These returns are the same as strcmp in C.