For a bit I mistakenly thought I had a 20 char solution in the form of:
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).sub hole{map/^(.*?)\1+\z/s,@_}
In reply to Re (tilly) 2: PGA Golf, Round 1 - Results
by tilly
in thread PGA Golf, Round 1 - Results
by jmcnamara
For: | Use: | ||
& | & | ||
< | < | ||
> | > | ||
[ | [ | ||
] | ] |