Nathan Wiger wrote:
> Jeremy Howard wrote:
> >
> > Can we have an isnull() function then, please. Otherwise there's no
> > operation to test for nullness.
> >
> > PS: Nullness? Nullility?
>
<...>
> use tristate;
> $a = undef;
> carp "\$a is null!" unless defined($a);
>
> That way, "defined($a)" will always return false for the above,
> regardless of the "use tristate" pragma. It seems more consistent in
> keeping with the "undef really means uninitialized" idea too.
>
Yes, that's nullirific!
It would be good to make that clear in the RFC.