in reply to Re^2: NULL Variables in thread NULL Variables
I agree with the person above me. I was actually reading the Llama book, and was searching for a way to set a variable so that the defined () function would come back as false. Since i did not know about 'undef', it makes it kind of hard to search for it in a book. Just because it seems obvious to you doesn't mean everyone gets it. Is this forum about helping people with Perl or selling O'Reilly books? WTF? Thanks to the first poster who answered the question in less space than the others took to complain about it.
Re^4: NULL Variables
by LanX (Saint) on Jun 01, 2011 at 15:51 UTC
|
> 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" ?
| [reply] |
|