Hello All,

How would I go about checking to see if a variable contains an @ symbol?

$email = "[EMAIL PROTECTED]";

if ($email ne "@" || $email eq "") {
 print "Please make sure your type your email address in correctly";
} else {
  print "All is OK";
}

Thx,

Dan


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

Reply via email to