|
|
| Think about Loose Coupling | |
| PerlMonks |
Re (tilly) 3: Golf: Arbitrary Alphabetical Sortingby tilly (Archbishop) |
| on May 10, 2001 at 00:40 UTC ( #79243=note: print w/ replies, xml ) | Need Help?? |
|
First of all that doesn't work because shift returns a reference. You need it to dereference the first element into an array. Secondly you know I love a challenge..like 76 characters: (I have to waste 3 on removing spaces, dang.)
UPDATE
UPDATE 2
UPDATE 3 (Note that chr returning 2 chars wouldn't make Unicode come out right. Hence I am keeping the 1e9 trick.)
In Section
Meditations
|
|
||||||||||||||||||||||||||||