> Oops, a correction. [..] should mean 'the set of all integers'. _Not_ the
> univeral set. So my code snippet should be:
>   @i = [..];    # @i contains the integers
>   $s = sum (grep 0<__<=100 @i);
>   print "The sum of the 1st 100 integers is: $s";
>
Oh dear, another correction! I meant, of course:
  @i = (..);
not
  @i = [..];

It just goes to prove that Sunday morning is a poor time to sit in front of
a computer... Time to go outside!


Reply via email to