in reply to Re: undef as a key in a hash.
in thread undef as a key in a hash.

Nope. '' won't reach there. '' is defined. He'd have to use length instead of defined to check for ''.

Replies are listed 'Best First'.
Re^3: undef as a key in a hash.
by ursus (Acolyte) on Jan 03, 2008 at 19:59 UTC
    Or use it as a boolean. :-)