Perl Monk, Perl Meditation | |
PerlMonks |
Re: Re: Golf: Arbitrary Alphabetical Sortingby Masem (Monsignor) |
on May 09, 2001 at 20:05 UTC ( [id://79140]=note: print w/replies, xml ) | Need Help?? |
While your $v/$k order is right, the one gotcha that I put in there was that the alphabet size was arbitrary, and not necessarily 26 characters.. it could be as many as 100, 1000, or more (Well, anything in non-Unicode above 255 makes no sense). So this trick doesn't work here.
Dr. Michael K. Neylon - mneylon-pm@masemware.com || "You've left the lens cap of your mind on again, Pinky" - The Brain
In Section
Meditations
|
|