http://www.perlmonks.org?node_id=1019995


in reply to "undef" is not NULL and what to do about it

IMHO the only sane way to deal with NULL/undef values is not to allow them by default, and if they are present, force explicit handling of them.

Unfortunately the only language I know that gets this right is Haskell (which has its own share of problem).