develooper Front page | | Postings from January 2007

Re: simple golf for fun

Thread Previous | Thread Next
Ronald J Kimball
January 17, 2007 09:53
Re: simple golf for fun
Message ID:
On Wed, Jan 17, 2007 at 01:25:20PM +0200, Juho Snellman wrote:
> Phil Carmody <> 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. :)


Thread Previous | Thread Next Perl Programming lists via nntp and http.
Comments to Ask Bjørn Hansen at | Group listing | About