But really, equality comparison of an undefined variable to anything else should just merrily produce the darned truth value without fuss.Eww. That would be almost as bad as eq returning true, false, or undef (the latter if either operand is undef) ala SQL's NULL handling. I think the existing undef-becomes-""-or-0 is just fine.
In reply to Re^6: complaint: always testing defined()
by ysth
in thread complaint: always testing defined()
by RaptorRex
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |