http://www.perlmonks.org?node_id=813652


in reply to The golf course looks great, my swing feels good, I like my chances (Part I)

In case you're curious as to what my early-lead 60-stroke solution looked like, here it is:

y/DCLXVIM /4 DCLX9/,$\=s/( )?\d/9x($&+!$1)/egfor(<>)x4;print

This is quite a different algorithm from yours, I think.

I enjoyed the few days I was thinking about this challenge, but I don't have the tenacity to keep whittling away month after month like you serious golfers.