SPUG: 0 == undef

Jack Foy jack at gehennom.net
Wed Apr 7 13:54:29 CDT 2004


Tim Maher wrote:
> When you use an undefined value in a numeric comparison,
> Perl fudges in a 0 value for you (and gives you a warning,
> if -w is enabled).

Didn't Conway give a SPUG talk about a package he wrote to 'fix' this?
I seem to remember a Tenacious::Undef package, though Google isn't
turning up much detail.

-- 
Jack Foy <jack at gehennom.net>



More information about the spug-list mailing list