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

Re: TPR1 post-mortem

Thread Previous | Thread Next
Stephen Turner
March 9, 2002 08:50
Re: TPR1 post-mortem
Message ID:
On Fri, 8 Mar 2002, Stephen Turner wrote:
> Methods for looping:
> `$^X $0`                  (Stephen-54)

By the way, to return to the conversation I was having with Andrew during
the competition, I think this choice of looping method was probably the
reason why I got away with using only 14 \w\s characters -- print$_=pop
is 9, plus 5 stragglers. It wasn't really an intentional choice of a low-\w
method though -- it just came out that way.

I thought of using /..(?{ ___$&___ })/ for pulling off all pairs of
characters because of the conversation on this list a week or so ago, when
this very method was discussed.

Stephen Turner, Cambridge, UK
"This is Henman's 8th Wimbledon, and he's only lost 7 matches." BBC, 2/Jul/01

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