On Mon, Oct 14, 2002 at 05:45:23PM -0400, [EMAIL PROTECTED] wrote:
> The problem with returning undef is that undef numifies to zero.

Yes, but it does produce a warning.

> It would make more sense if either 1/0 returned NaN, if Perl6 has NaN, or 
> throw an error, which Larry has indicated will be a concept in Perl6.

What happens when NaN is used in an expression?  Is NaN + 0 == NaN?


-- 

Michael G. Schwern   <[EMAIL PROTECTED]>    http://www.pobox.com/~schwern/
Perl Quality Assurance      <[EMAIL PROTECTED]>         Kwalitee Is Job One
11. Every old idea will be proposed again with a different name and
    a different presentation, regardless of whether it works.
     -- RFC 1925

Reply via email to