develooper Front page | perl.fwp | Postings from March 2002

Re: TPR1 post-mortem

Thread Previous | Thread Next
From:
Adam Spiers
Date:
March 8, 2002 10:35
Subject:
Re: TPR1 post-mortem
Message ID:
20020308183503.A19805@corelli.new.ox.ac.uk
Stephen Turner (sret1@ntlworld.com) wrote:
> I've looked quickly at all the entries up to 55 strokes, and identified the
> following methods for difficult bits of the problem. Apologies for errors
> and omissions!

A nice summary :-)

> Methods for looping:
[...]
> `$^X $0`                  (Stephen-54)

I considered this recursive approach too but never got anything
decent.  The rules were maybe slightly vague on this intricacy, but
couldn't you have shaved two off with this?

  `./$0`

It would have passed the test program, and run fine from the
command-line via `perl secret.pl', but not via `./secret.pl' :-)
Don't know whether the judges would have accepted it.

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