>>>>> "Gunnar" == Gunnar Hjalmarsson <cc> writes:
Gunnar> As a result of the thread "Check for valid email address", I have
Gunnar> modified my emailsyntax() function to better conform to RFC 822. After
Gunnar> all, I wouldn't like e.g. my contact form module to reject Randal when
Gunnar> he has changed addresses. ;-)
Gunnar> I skipped the specification's "domain-literal" alternative, at least
Gunnar> for the time being.
Gunnar> This is the modified function:
Again, why aren't you just using Email::Valid?
Randal L. Schwartz - Stonehenge Consulting Services, Inc. - +1 503 777 0095
Perl/Unix/security consulting, Technical writing, ...