It definitely sounds to me like we're supposed to be writing a function.
That way we don't worry about where the inputs and outputs are necessarily
going. In that case, I'm at 73, but considering my beginner status, I'm sure
that's fairly awful.

As an aside, I'd say that in general I think of "math problem" golf holes as
functions, and "text mangling" holes as file-suckers. At least it's
something to consider for those who may be working on Games::Golf. :)

Patrick

> -----Original Message-----
> From: Stephen Turner [mailto:[EMAIL PROTECTED]] 
> Sent: Friday, February 08, 2002 04:30 PM
> To: Fun With Perl mailing list
> Subject: Re: Golf and the Perl Review
> 
> 
> On Fri, 8 Feb 2002, Stephen Turner wrote:
> > 
> > I've got 50 now.
> 
> 48 (in the "converting a whole file" game). I really ought to 
> stop playing this until we know the rules though...
> 
> -- 
> Stephen Turner, Cambridge, UK    
> http://homepage.ntlworld.com/adelie/stephen/
> "This is 
> Henman's 8th Wimbledon, and he's only lost 7 matches." BBC, 2/Jul/01
> 

Reply via email to