Front page | perl.golf |
Postings from August 2002
Re: Reflections
Thread Previous
|
Thread Next
From:
Stephen Turner
Date:
August 9, 2002 10:13
Subject:
Re: Reflections
Message ID:
Pine.LNX.3.96.1020809181046.7431A-100000@gentoo
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 http://homepage.ntlworld.com/adelie/stephen/
"This is Henman's 8th Wimbledon, and he's only lost 7 matches." BBC, 2/Jul/01
Thread Previous
|
Thread Next