develooper Front page | perl.fwp | Postings from December 2001

Re: The Santa Claus Golf Apocalypse

Thread Previous | Thread Next
From:
Andrew.Savige
Date:
December 8, 2001 20:24
Subject:
Re: The Santa Claus Golf Apocalypse
Message ID:
694BB7191495D51183A9005004C0B05408DFE1@ir-exchange-srv.ir.com.au
I have just gone back through my email records and the lowest score
recorded by a novice appears to be Jerome Quelin in 15th place.

*** Jerome Quelin: 94 (11 19 15 28 21) ***
--- head.pl ---------------------------------------------
#!/usr/bin/perl -p
11..last
--- tail.pl ---------------------------------------------
#!/usr/bin/perl
print+(<>)[-10..-1]
--- rev.pl  ---------------------------------------------
#!/usr/bin/perl
print reverse<>
--- mid.pl  ---------------------------------------------
#!/usr/bin/perl
@_=<>;print@_[$./2-.5..$./2]
--- wc.pl   ---------------------------------------------
#!/usr/bin/perl
printf"%010d\n",$.,<>

As Jerome said:
"I'm a _completely_ beginner at golf challenge: that's my very first
 try, so be kind... If there's a novice section in the challenge,
 then put me in! :)"

Under those circumstances, I rate 94 as a brilliant performance.
Well done Jerome!

Apologies if I have missed any other high-flying novices;
if you did well and this is your first ever golf game,
please let the list know.

Santa.


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