Front page | perl.golf |
Postings from August 2002
From: Eugene van der Pijll
August 9, 2002 10:11
Message ID: 20020809171105.GA14473@ruunat.phys.uu.nl
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 .
The 10 initial values of special variables are:
undef, 0, 2, 60, " ", "\n", "\034", "STDOUT", "STDOUT_TOP" and " \n-".
As all good golfers knew already, of course.
Golf is a day spent in a round of strenuous idleness. -- \\/illiam \\/ordsworth