title: When is the spaceship operator used outside a sort?
body: <p>I've only seen the Perl spaceship operator (&lt;=&gt;) used in numeric sort routines. But it seems useful in other situations. I just can't think of a practical use.</p>
  <p>What would be an example of when it could be used outside of a Perl sort?</p>
  <p><sub>This is a best practice question.</sub></p>