Start New Discussion within our Software Development Community

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


use Email::Valid;
print (Email::Valid->address('') ? 'Good email address' : 'Bad email address');
The article starter has earned a lot of community kudos, and such articles offer a bounty for quality replies.