In perl, it's pretty much the same:
if ($string) {
#$string exists
}
if (!$string){
#$string is NULL
}
How do you check to see if a string is NULL in PERL? ie in C... if (string) { //string exists }?
if($str1 eq "") {.....} #check to see if string str1 is null
Reply:still interested in doin that semi-volunteer work for my site?
email me: X_9th.Gate_X@yahoo.com
garden ridge
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment