Beefy Boxes and Bandwidth Generously Provided by pair Networks
Don't ask to ask, just ask
 
PerlMonks  

Re: Re (tilly) 3: Golf: Arbitrary Alphabetical Sorting

by tadman (Prior)
on May 10, 2001 at 01:39 UTC ( #79264=note: print w/ replies, xml ) Need Help??

Help for this page

Select Code to Download


  1. or download this
    sub o {
    ($l,*w,$")=@_;sub g{$_=pop;s/./chr index"@$l",$&/ges;$_}sort{g($a)cmp 
    +g+$b}@w
    }
    

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others studying the Monastery: (13)
As of 2015-03-31 21:46 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    When putting a smiley right before a closing parenthesis, do you:









    Results (673 votes), past polls