Beefy Boxes and Bandwidth Generously Provided by pair Networks
"be consistent"
 
PerlMonks  

Re: sort empty string

by LameNerd (Hermit)
on Jul 29, 2003 at 17:37 UTC ( [id://278899]=note: print w/replies, xml ) Need Help??


in reply to sort empty string

You can alway define your own sort sub. Here's an example I found in the Camel book.
sub byage { $age{$a} <=> $age{$b}; } @sorted = sort byage @class;

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others exploiting the Monastery: (5)
As of 2024-04-19 16:14 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found