in reply to Re: How do I test for a NULL string?
in thread How do I test for a NULL string?
You are essentially saying that the question is nonsensical because 'NULL' is not a reserved word in the Perl language.No, I'm saying more than that.
However, it is evident that the questioner comes from a C background,No, it could also be an SQL background.
in which the phrase 'NULL string' has a well-defined meaning with a suitable analogue in PerlNo, because even NULL in C could mean NULL pointer, which is closer to undef than to an empty string.
You have just proven my point. You assumed things that cannot be assumed. Therefore, the question is unanswerable without further information. A good question answerer understands how many different context things apply. And personally, I've seen people use NULL to mean every single one of those items in that list I give.
-- Randal L. Schwartz, Perl hacker
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: Re: Re: How do I test for a NULL string?
by djantzen (Priest) on Feb 12, 2002 at 18:07 UTC | |
by demerphq (Chancellor) on Feb 13, 2002 at 10:41 UTC |