Syntactic Confectionery Delight | |
PerlMonks |
Re^4: RFC: Is this the correct use of Unicode::Collate?by flexvault (Monsignor) |
on Jan 17, 2012 at 19:05 UTC ( [id://948383]=note: print w/replies, xml ) | Need Help?? |
tchrist,
I re-checked and you are correct about the red part, and I was wrong for quoting you out of context. I apologize.
Do I understand you correctly that it can be done? I have read the docs on CPAN and the perldoc on my system, and I don't see how to do this. I know you think my request is "...weirdo binary sort on the..." ASCII, but I could give many instances of real-life uses where both text and binary co-exist and require sorting. One example: a desktop calendar program where all events are in a database server. The key part of key/value pair, would contain binary ASCII data(time, duration, etc) as well as the title for the event and possible sequencing information (base 32). The data value would be a description of the event. No sorting required for that and it could be UTF-nn or ASCII. The database engine doesn't care about the data portion, only the key matters. It would be wonderful if the database engine could sort the key information so the language of the title was handled correctly and the ASCII portion is also handled correctly. Thank you "Well done is better than well said." - Benjamin Franklin
In Section
Seekers of Perl Wisdom
|
|