On Tue, Feb 12, 2002 at 07:54:23AM -0800, Randal L. Schwartz wrote:

>     Perl doesn't have NULL strings, so you can't test for them.  Perl
>     has undef values, empty strings, strings that have only newline,
>     strings with only white space, strings that are false, and those
>     are all testable with various predicates.  But none of those are a
>     one-to-one match with "NULL".  So the question is unanswerable as
>     stated.
> 
> Yes, I just made this up. :)

Hi Randal,

You'd better take a look at some of the Perl documentation and get
patching then :-)

Start with perldata, which says "there are actually two varieties of
null strings", and has done since at least Perl 4.  The Perl 1 manpage
mentions null strings.  So do Learning Perl (2nd ed) and Learning Perl
on Win32 (1st ed).  Programming Perl (2nd ed) is littered with
references to null strings, including an entry in the glossary.

Oh!  Here's a good reference:

  http://www.stonehenge.com/merlyn/WebTechniques/col12.html


Yes, I have got better things to do with my time :-)

-- 
Paul Johnson - [EMAIL PROTECTED]
http://www.pjcj.net

-- 
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to