On Tue, Feb 19, 2002 at 03:53:57PM -0800, Roger Morris ([EMAIL PROTECTED]) said something similar to: > I hadn't found that module when I was searching the net. the > Email::Valid doesn't catch the @this_host.com It also doesn't catch | > in the email, which I would've thought shouldn't be permitted. > I'll keep digging.
No, it doesn't. But, if I recall, @this_host.com is valid email address syntax, even though domain names can't (currently) contain the _ character. So, Email::Valid is sticking to RFC822 (http://www.faqs.org/rfcs/rfc822.html). This is why I mentioned that Email::Valid has MX host checking, which is where @host_name.com would fail (since there is not, and can not be a host_name.com MX record). Cheers, Kevin -- [Writing CGI Applications with Perl - http://perlcgi-book.com] "I gained nothing at all from Supreme Enlightenment, and for that very reason it is called Supreme Enlightenment." -- Gautama Buddha -- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]