tainting nums (was Re: the handiness of undef becoming NaN (when you want that))

2002-01-22 Thread Nicholas Clark
On Fri, Nov 09, 2001 at 09:14:10AM -0800, Larry Wall wrote: > NaN is merely the floating-point representation of undef when your > variable is stored in a bare num. And if you declare a variable as > int, there may well be no representation for undef at all! Similarly, > it may be impossible to

Re: tainting nums (was Re: the handiness of undef becoming NaN (when you want that))

2002-01-21 Thread Larry Wall
Nicholas Clark writes: : On Fri, Nov 09, 2001 at 09:14:10AM -0800, Larry Wall wrote: : > NaN is merely the floating-point representation of undef when your : > variable is stored in a bare num. And if you declare a variable as : > int, there may well be no representation for undef at all! Simila