Below are revisions for this snippet.

Simple email validation





Syndication

Revision Revison 1
Simple function to check for a valid email address. Makes sure the @ and a . are in the right place. There is most likely a perl package on CPAN that would be more extensive, but this happens to work for my uses.