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.
...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.
"Well done is better than well said." - Benjamin Franklin