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

How do I test for a NULL string value

Thread Next
Kennedy, Todd
February 12, 2002 06:12
How do I test for a NULL string value
Message ID:
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.

Thread Next Perl Programming lists via nntp and http.
Comments to Ask Bjørn Hansen at | Group listing | About