develooper Front page | perl.beginners | Postings from February 2002

How do I test for a NULL string value

Thread Next
From:
Kennedy, Todd
Date:
February 12, 2002 06:12
Subject:
How do I test for a NULL string value
Message ID:
D2F3F08DA66C814CA829FD5A74224DBEB9B6CA@trbexc001.esync.pvt
Hello, I am trying to test for a NULL value in a string variable but am unable to figure it out. I see that a RE of s/^\s// would test for a space at the beginning of a variable or line, but I can't seem to figure out how to test for a NULL value. Can anyone help me out?

Todd Kennedy
Unix Administrator / System Automation Engineer
E-Sync Networks, Inc.
(203)601-3363
todd.kennedy@esyncnetworks.com



Thread Next


nntp.perl.org: Perl Programming lists via nntp and http.
Comments to Ask Bjørn Hansen at ask@perl.org | Group listing | About