Front page | perl.golf |
Postings from August 2002
Re: Reflections
Thread Previous
|
Thread Next
From:
Stephen Turner
Date:
August 9, 2002 10:14
Subject:
Re: Reflections
Message ID:
Pine.LNX.3.96.1020809181336.7431B-100000@gentoo
On Fri, 9 Aug 2002, Eugene van der Pijll wrote:
> En op 9 ogustus 2002 sprak Michael W Thelen:
> > 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? These aren't all
> > very good, but here's what I can think of:
>
> $^F/2 . I'm a bit surprised that Marko Nippula was the only other
> golfer who used $^F in factorial.pl .
>
I tried to use $^F, but I had to special-case 0 and 1, and it took too many
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