Keep It Simple, Stupid | |
PerlMonks |
Re^4: NULL Variablesby LanX (Saint) |
on Jun 01, 2011 at 15:51 UTC ( [id://907654]=note: print w/replies, xml ) | Need Help?? |
> Thanks to the first poster who answered the question in less space than the others took to complain about it. It's not that easy. Many languages have a "NULL" which isn't always the same as undef. Javascript for instance has "undefined" and "Null". This has much to do with different models concerning the boolean interpretation of certain data types. So the "complaints" you are criticizing are motivated by the confusion about the real question behind the OP might be. Maybe of interest: Is // a "Null coalescing operator" ?
Cheers Rolf
In Section
Seekers of Perl Wisdom
|
|