In article <[EMAIL PROTECTED]>, Moritz Lenz
<[EMAIL PROTECTED]> wrote:

> brian d foy wrote:
> > * If I can match $x to NaN (or its stand-in), what happens when $x is
> > undef? 
> 
> undef is a property of the container variable (that it holds no value),
> whereas NaN is a property of the content (like 1/0). so undef ~~ NaN
> should be false IMHO.

That's fine, but the question people are going to ask is "if undef
isn't a number, why doesn't iot match 'not a number'". If it doesn't
match, we have to talk about internals to explain it, which is
generlaly not a good idea for beginners :)

Reply via email to