On Sunday, May 12, 2002, at 06:13  PM, Bill Lyles wrote:

> if ($email !~ /.+\@.+\..+/) {

we assume you are assigning something to $email
and the email address with the '@' is single quoted so it doesn't try to 
interpolate.
(or you are escaping the '@' in a double quoted string.)
otherwise the regex looks workable, although people will tell you about 
the difficulties of doing good email address validation and how you should 
use a module made for doing it.

Reply via email to