Beefy Boxes and Bandwidth Generously Provided by pair Networks
Keep It Simple, Stupid
 
PerlMonks  

Re: Sorting data problem

by sachmet (Scribe)
on Dec 30, 2004 at 05:25 UTC ( #418184=note: print w/replies, xml ) Need Help??


in reply to Sorting data problem

<=> is a numeric comparison operator. Use cmp instead, which sorts the strings alphabetically. If case is not important, use { lc($a) cmp lc($b) } for your sort.

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://418184]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others exploiting the Monastery: (5)
As of 2021-04-20 12:58 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found

    Notices?