Beefy Boxes and Bandwidth Generously Provided by pair Networks
Perl: the Markov chain saw
 
PerlMonks  

Re: PGA Golf, Round 1

by btrott (Parson)
on May 24, 2001 at 21:51 UTC ( #83025=note: print w/ replies, xml ) Need Help??


in reply to PGA Golf, Round 1

Hole 6.

This is really ugly and much too long, but whatever:

sub hole{$r='([aeiou])';sort{($a=~$r)[0]cmp($b=~$r)[0]}@_} 123456789_123456789_123456789_123456789_12345678
48 characters, I think.


Comment on Re: PGA Golf, Round 1
Download Code

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others browsing the Monastery: (7)
As of 2014-11-27 20:48 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    My preferred Perl binaries come from:














    Results (188 votes), past polls