On Tue, Feb 18, 2003 at 10:06:29PM -0000, Smylers wrote: > More practically, the length of a list is never interesting: a list by > definition must be hardcoded into the program so its length is known at > compile time. Indeed it should be known by whoever typed it in!
Err, no. Eg in perl 5:
$value = (1,2, @ARGV,3,4)[$i]
That's a list, and its length is not known at compile time.
Dave.
--
Nothing ventured, nothing lost.
