njh@bandsman.co.uk has asked for the wisdom of the Perl Monks concerning the following question:

What operator does <=> for strings?

Replies are listed 'Best First'.
Re: How do I compare two strings?
by toolic (Bishop) on Dec 14, 2015 at 17:35 UTC
Re: How do I compare two strings?
by karlgoethebier (Abbot) on Dec 14, 2015 at 22:31 UTC
Re: How do I compare two strings?
by stevieb (Canon) on Dec 14, 2015 at 17:33 UTC
    $str1eq $str2
      eq is the string equivalent of ==, not of <=>.

      The string equivalent of <=> is cmp.