develooper Front page | perl.golf | Postings from August 2002

Re: Reflections

Thread Previous | Thread Next
From:
Andrew.Savige
Date:
August 9, 2002 01:09
Subject:
Re: Reflections
Message ID:
694BB7191495D51183A9005004C0B05452DEEF@ir-exchange-srv.ir.com.au
En op 09 augustus 2002 sprak Stephen Turner:
> Ah yes, the good old "luck" approach!

The what the $#?!!?? -- that can't possibly work approach.
But it does, and the test program is sound, so it must be right.
I have used this so often, I feel like applying for a patent. :)

> By the way, isn't it incredibly annoying that there isn't
> a single Perl variable which defaults to 1?

Incredibly. This has been a flea in my ear many times.
In my Somersaulting camel program at:
 http://search.cpan.org/search?dist=Acme-EyeDrops
I used "sleep!$%" instead of "sleep 1" to save quite a
few strokes, because !$% does not require sightly encoding,
while " 1" sightly encodes to: ('{'^'[').('^'^('`'|'/')).

/-\

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