develooper Front page | | Postings from August 2002

Re: Reflections

Thread Previous | Thread Next
Stephen Turner
August 9, 2002 10:13
Re: Reflections
Message ID:
On Fri, 9 Aug 2002, Juho Snellman wrote:

> On Fri, Aug 09, 2002 at 10:24:52AM -0600, Michael W Thelen wrote:
> > Actually, this is kind of an interesting question...  what are the
> > various ways that people have used to get a value of 1 into a
> > variable?
> #!perl -i1
> No sense in using it, of course, since the name of the variable sucks.

Yes, I hadn't realised until I tried to use it in this tournament that the
$^I trick isn't as clever as it deserves to be, because $^I is the only $^x
that you can't write in only two characters.

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