Beefy Boxes and Bandwidth Generously Provided by pair Networks
Pathologically Eclectic Rubbish Lister
 
PerlMonks  

Re: Re: sort a hash array

by fuzzysteve (Beadle)
on Nov 18, 2001 at 09:45 UTC ( [id://126093]=note: print w/replies, xml ) Need Help??


in reply to Re: sort a hash array
in thread sort a hash array

I bow to your superiour knowledge.
In my own defence (or probably damnation) Most of the code is a quick hack I threw together to solve a problem at hand. It worked, so I didn't tweak it. Looking back, I should have.
As an aside, I didn't pick the sort routine as for its speed, I picked it for its ease of coding. this is lifted from some code thats going to be run nightly, at a time when the servers going to be unused. in a test on sample data, it doesn't take too long to work, so is suitable for the job.
In the end, I'm not arguing with you. Its not pretty, its not fast. It's also not a good use of the functions perl has available. but it does work, and its simple to understand.
Thanks for the code btw, as its here, I should probably try it

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others sharing their wisdom with the Monastery: (5)
As of 2024-04-24 03:15 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found