Just as you wouldn't use "=" to test equality (you would use "=="), you wouldn't use "undef" to test definedness, you would use "defined".
undef will undefine its operand. defined will test its operand.
Dave
In reply to Re^3: Check/set hash of hashes value
by davido
in thread Check/set hash of hashes value
by stroke
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |