No such thing as a small change | |
PerlMonks |
Re: why direct undef comparison isn't workingby MidLifeXis (Monsignor) |
on Dec 10, 2014 at 14:16 UTC ( [id://1109906]=note: print w/replies, xml ) | Need Help?? |
The value undef means that there is no defined value. If two somethings have not been defined, that does not make them equal. Consider how you would get from point A to point B, and point A to point C. Until you know where they are, road conditions, method of travel, number of passengers, and so on, the details of travel to both locations are undefined. That does not make them equal. If you squint hard enough, it can be compared to a NULL value in SQL. --MidLifeXis
In Section
Seekers of Perl Wisdom
|
|