develooper Front page | | Postings from January 2007

Re: simple golf for fun

Thread Previous | Thread Next
Juho Snellman
January 17, 2007 03:28
Re: simple golf for fun
Message ID:
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.

Juho Snellman

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