develooper Front page | perl.golf | Postings from January 2007

Re: simple golf for fun

Thread Previous | Thread Next
From:
Ronald J Kimball
Date:
January 17, 2007 09:53
Subject:
Re: simple golf for fun
Message ID:
20070117175315.GA93501@penkwe.pair.com
On Wed, Jan 17, 2007 at 01:25:20PM +0200, Juho Snellman wrote:
> Phil Carmody <thefatphil@yahoo.co.uk> writes:
> > 1//regexp/ would crash on the same thing that s/regexp// fails to blank.
> > So I thought that might be the intended (not space-saving) technique with
> > a rather bizarre unnecessary use of an unquoted literal to add confusion!
> > But a typo seems to make more sense.
> 
> Typoing two characters and still ending up with a program that
> implements the - admittedly loose - spec seems pretty unlikely :-) I
> just liked the looks of the a/// operator.

That was too clever for me I guess. :)

Ronald

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