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

Re: The Santa Claus Golf Apocalypse

Thread Previous | Thread Next
From:
Jonathan E. Paton
Date:
December 9, 2001 05:02
Subject:
Re: The Santa Claus Golf Apocalypse
Message ID:
20011209130241.14591.qmail@web14605.mail.yahoo.com
> 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.

Me!  It's my first Perl Golf Golf game... and I need to
avoid missing some simplier solutions.  In particular, the
best "wc.pl" solution:

#!/usr/bin/perl
printf"%.10d",$.,<>

I thought Perl would flatten the arguments Left to Right
-but did I try?  No, unfortunately not, and my assumption
was wrong.  It's all about looking outside of the solution,
trying something else...

I thought everyone else was cheating, since my first
submissions totalled 102 characters (I cheated by omitting
the \n from wc.pl, so Santa corrected it to 104).  The only
other scores were 103 and 106, so I thought I'd stand a
chance :P

I have to agree about Perl Golf competitions being evil
when it comes to getting on with Real Life (TM) though. 
Perl Golf is far more fun than Calculas and my other
University subjects.

Not having Perl Golf championships too frequently makes the
game more exciting.  We should wait at least 2 months
before the next one, and we need to choose who's leading
it.  I have some suggestions for (more difficult)
challenges, for whoever will be commanding the next course.

Take care all,

Jonathan Paton

PS: Santa should be a player next round :)

________________________________________________________________
Nokia 5510 looks weird sounds great. 
Go to http://uk.promotions.yahoo.com/nokia/ discover and win it! 
The competition ends 16 th of December 2001.

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