in reply to Re: defined vs null string
in thread defined vs null string

An interesting thing to notice, is that defined returns nothing if something is undef. But it prints a 1 if defined.

Perl functions/operators do not return "nothing".    defined returns either "TRUE" or "FALSE", which is 1 for true or "" for false.

Replies are listed 'Best First'.
Re^3: defined vs null string
by zentara (Cardinal) on Aug 30, 2011 at 22:19 UTC