On Thu, 31 Oct 2002, David Wheeler wrote: : On Thursday, October 31, 2002, at 02:43 PM, Michael Lazzaro wrote: : : > Q: Can bits/bools be undefined? : > : > Perl conventions would indicate yes. : : IIRC, native data types, which are all lowercase (e.g., int, bit, long, : etc.) cannot be undef. However, their class equivalents (e.g., Int, : Bit, Long, etc) can be undef.
That is correct. It probably throws an exception if you try to assign an undefined value to a lowercase type. (Though an IEEE num might well set itself to NaN instead.) Larry
