[Fwd: Re: LA.pm: Golf Challenge Test Program]

Samy Kamkar SKamkar at LucidX.com
Tue Mar 19 17:17:56 CST 2002


Hah hah hah

Here's Greg's unqualified 102-stroke code :)

-------- Original Message --------
Subject: Re: LA.pm: Golf Challenge Test Program
Date: 19 Mar 2002 14:21:23 -0800
From: Greg Schueler <greg at dajoba.com>
To: Samy Kamkar <SKamkar at LucidX.com>
References: <3C93BBE1.2040804 at LucidX.com>

hey samy,
would this be disqualified (i didn't see any rule against it)? ;)

#!/usr/bin/perl -l
$a=pop;open(F,"testgc1.pl");local$/;$_=<F>;/\@v.*?# ${a}(.+?)(#|\))/s;
$_=$1;s/[#\s",.\n)]//g;print

You passed!
You shot a round of 102 strokes (matched 59 [^\w\s]).





-- 
Samy Kamkar Pezeshkian -- cp5 at LucidX.com
LucidX.com / code.LucidX.com / LA.pm.org




More information about the Losangeles-pm mailing list