develooper Front page | perl.golf | Postings from August 2002

RE: At long last! A Kiwi on the leaderboard!

Thread Previous | Thread Next
From:
Dave Hoover
Date:
August 6, 2002 10:47
Subject:
RE: At long last! A Kiwi on the leaderboard!
Message ID:
NFBBLBJAALMELNDMDOFCGELDCJAA.dave@redsquirrel.com
Andrew wrote:
> I notice there are TWO BoBs with 44.12 Factorials.
> What does that mean? Two different 44.12 solutions?

It means that the PGAS code needed to be changed from this:
....
$data{ $hole->[1] }->{golfer} !~ /$golfer/
....

to this:
....
$data{ $hole->[1] }->{golfer} !~ /\Q$golfer\E/
....

Since "BoB (Best of Breed - referees)" has some metacharacters in it, it
wasn't matching correctly.  Wow, that's the first time I've touched PGAS
code in a while.  It feels good to have it be that stable.

> I also notice that Dave has escaped the Sand Trap that
> Dave built, but where has he escaped to?

I thankfully got out of the Sand Trap but have had no time to put together a
postorder solution since I've been at a wedding and then a conference
(http://www.xpuniverse.com/) since Saturday.  I doubt I'll have time to play
anymore this round.  Maybe a last second attempt to get on the leaderboard,
but I'm doubtful.  Perl Golf just seems to keep slipping too far down on my
list of things to do.

--Dave


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