954,541 Members — Technology Publication meets Social Media
Username:
Password:
Lost login information?

Check if an email address is well-formed

0
By KevinADC on Aug 28th, 2006 12:34 pm

You will need to install the Email::Valid module if it's not already installed. See the module documentation for further details.

Email::Valid

use Email::Valid;
print (Email::Valid->address('anyuser@domain.com') ? 'Good email address' : 'Bad email address');

This article has been dead for over three months

Post: Markdown Syntax: Formatting Help
You