On Mon, Oct 22, 2001 at 08:25:21PM +0100, Piers Cawley wrote:

> > What REALLY worries me is that values that seem to be numbers, but are
> > in fact garbage ARE going to screw my average up. I dare Perl6 to fix
> > that for me.
> 
> It's not going to. Getting NaN as a result in this context should be a
> *really* big clue that Perl's found some garbage that it didn't
> understand. If you want to know where then CHECK YOUR VALUES.

You misunderstood me. Yes, you'll get NaN if your garbage happens
to not look like a number. But, this can give me no more sense of
security than I had before, since garbage that happens to look like
a number will still work "correctly".

Perl cannot find errors in my data, it can only guess badly. Let
*me* worry about my data, please and assume that if I asked for a cat
to pull my sled, I really wanted a cat to pull my sled, not some
much larger member of the cat familly that will turn around and eat
my children.

Umm, perhaps that metaphor was a tad stretched ;-)

-- 
Aaron Sherman
[EMAIL PROTECTED]             finger [EMAIL PROTECTED] for GPG info. Fingerprint:
www.ajs.com/~ajs        6DC1 F67A B9FB 2FBA D04C  619E FC35 5713 2676 CEAF
  "Write your letters in the sand for the day I'll take your hand
   In the land that our grandchildren knew." -Queen/_'39_

Reply via email to