Beefy Boxes and Bandwidth Generously Provided by pair Networks
laziness, impatience, and hubris
 
PerlMonks  

Re: PGA Golf, Round 1 - Results

by mtve (Deacon)
on Sep 27, 2002 at 07:47 UTC ( #201137=note: print w/replies, xml ) Need Help??


in reply to PGA Golf, Round 1 - Results

Hole 6 can be improved by two chars:

sub hole6{sort{$&x$a=~'[aeiuo]'cmp$&x$b=~//}@_}

or, alternatively:

sub hole6{sort{$a!~/[aeiuo]/.$&cmp$b!~//.$&}@_}

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others perusing the Monastery: (8)
As of 2018-09-24 11:08 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    Eventually, "covfefe" will come to mean:













    Results (191 votes). Check out past polls.

    Notices?
    • (Sep 10, 2018 at 22:53 UTC) Welcome new users!