develooper Front page | perl.fwp | Postings from January 2002

Re: FORE! Get Even Golf Game Tees Off

Thread Previous | Thread Next
From:
Jason Henry Parker
Date:
January 28, 2002 15:54
Subject:
Re: FORE! Get Even Golf Game Tees Off
Message ID:
87it9m58xc.fsf@freezer.home
Andrew.Savige@ir.com writes:

> Congratulations to the winners!
> Eugene van der Pijll in the Open section.
> Peter Makholm and Jason Henry Parker in the Beginner's section.

Congratulations are due you, Andrew---you had me working feverishly
for an entire weekend on solutions.  Unfortunately my last-minute
50-stroke even.pl seems to have not made it in:

even.pl
-------
#!perl -p
$_ x=1&~eval"$.|~y///c|y/$&//"while(aeiouy=~/./g)

It's kind of fun to know I just need to work faster, not harder, next
time.

It was the most Fun I've have with Perl since, well, the Santa
tournament!

jason
-- 
||----|---|------------|--|-------|------|-----------|-#---|-|--|------||
| The way you tell your story                 http://linux.org.au/conf/ |
| With no tears for yourself                           jasonp@uq.net.au |
||--|--------|--------------|----|-------------|------|---------|-----|-|

Thread Previous | Thread Next


nntp.perl.org: Perl Programming lists via nntp and http.
Comments to Ask Bjørn Hansen at ask@perl.org | Group listing | About