Beefy Boxes and Bandwidth Generously Provided by pair Networks
Do you know where your variables are?
 
PerlMonks  

Re (tilly) 2: PGA Golf, Round 1 - Results

by tilly (Archbishop)
on Jun 01, 2001 at 02:42 UTC ( #84778=note: print w/replies, xml ) Need Help??


in reply to Re: PGA Golf, Round 1 - Results
in thread PGA Golf, Round 1 - Results

Agreed. 22 is the best that I have.

For a bit I mistakenly thought I had a 20 char solution in the form of:

sub hole{map/^(.*?)\1+\z/s,@_}
but the rules say that if a single thing is returned, then it will be in scalar context. In scalar context this solution is wrong (as I indicated in an "oops" update).

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://84778]
help
Chatterbox?
[beech]: compare MANIFEST.SKIP
[stevieb]: cheers beech. twas totally my mistake, and I got bit. When things work for so long without issue, one becomes complacent (ie. replace we/one with I ;) I've been copy/pasting that around for a few years without a hiccup, so when...

How do I use this? | Other CB clients
Other Users?
Others surveying the Monastery: (9)
As of 2017-07-25 23:31 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    I came, I saw, I ...
























    Results (383 votes). Check out past polls.