The <=> operator is provided for convenience, to handle the simplest case of comparing two strings.That's a mistake. The <=> is provided to handle numeric sort. The cmp operator is used for sorting strings (lexicographical sort).
In reply to Re^2: hash sort
by Laurent_R
in thread hash sort
by Anonymous Monk
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |