> "Paul" == Paul Johnson <[EMAIL PROTECTED]> writes:
Paul> Start with perldata, which says "there are actually two varieties of
Paul> null strings", and has done since at least Perl 4. The Perl 1 manpage
Paul> mentions null strings. So do Learning Perl (2nd ed) and Learning Perl
Paul> on Wi
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 t
> "Randal" == Randal L Schwartz <[EMAIL PROTECTED]> writes:
Randal> Do you mean "NULL" as in "empty string"?
Randal> $string eq ""
Randal> or
Randal> ! length($string)
Randal> will do. But if you mean something else by NULL, you'll need to be
Randal> more specific.
Although I guesse
> "Todd" == Todd Kennedy <[EMAIL PROTECTED]> writes:
Todd> Hello, I am trying to test for a NULL value in a string variable
Todd> but am unable to figure it out. I see that a RE of s/^\s// would
Todd> test for a space at the beginning of a variable or line, but I
Todd> can't seem to figure ou