in reply to Re: How do I compare two strings?
in thread How do I compare two strings?

eq is the string equivalent of ==, not of <=>.

The string equivalent of <=> is cmp.