Beefy Boxes and Bandwidth Generously Provided by pair Networks
Just another Perl shrine
 
PerlMonks  

Re^3: RFC: I rewrote a custom sort function, but not sure if it is the best way.

by flexvault (Parson)
on Mar 03, 2013 at 12:27 UTC ( #1021497=note: print w/ replies, xml ) Need Help??


in reply to Re^2: RFC: I rewrote a custom sort function, but not sure if it is the best way.
in thread RFC: I rewrote a custom sort function, but not sure if it is the best way.

Lady_Aleena,

    ...I looked at Unicode::Collate. I can not see how it would work with hash values. The writer only uses arrays in the examples...

I only used 'Unicode::Collate' once, but it changes the sort order of the ASCII characters as well.

Do you have a sample input file and the required output file. You seem to be doing a lot of work and then using the Perl 'sort' anyway.

Good Luck...Ed

"Well done is better than well said." - Benjamin Franklin


Comment on Re^3: RFC: I rewrote a custom sort function, but not sure if it is the best way.

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others studying the Monastery: (6)
As of 2014-08-02 04:29 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    Who would be the most fun to work for?















    Results (54 votes), past polls