I think your explanation is slightly misleading, because of this fact:
undef ne "" and undef != 0
undef is... undef. undef means that the data does not exist at all. It cannot be quantified (it's not even "0 for none", it's "undef for non-existant"), nor can it be given any sort of string value, even if that value is an empty string.
There is something in your left hand, and you don't know what it is. There is also something in your right hand, again you don't know what it is. Can you say that you have the same things in both of your hands?
This is not really an accurate description, as undef in this case would not mean you don't know what the object is, but rather that nothing exists in your hands in the first place. I understood what you meant by your post as I understand the reasoning and the behaviour behind the use of undef, though I'm not sure somebody who knows nothing about undef would have understood the difference between undef, 0, and "".
In reply to Re: Re: cgi problem
by Anonymous Monk
in thread cgi problem
by atnonis
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |