NAME

   Data::Validate::WithYAML::Plugin::EMail - Plugin for
   Data::Validate::WithYAML to check email addresses

VERSION

   version 0.04

SYNOPSIS

       use Data::Validate::WithYAML::Plugin::EMail;

       my $foo = Data::Validate::WithYAML::Plugin::EMail->check( '[email protected]' );
       ...

       # use the plugin via Data::Validate::WithYAML

       use Data::Validate::WithYAML;

       my $email     = '[email protected]';
       my $validator = Data::Validate::WithYAML->new( 'test.yml' );
       print "yes" if $validator->check( 'email', $email );

   test.yml

     ---
     step1:
         email:
             plugin: EMail
             type: required

SUBROUTINES

check

AUTHOR

   Renee Baecker <[email protected]>

COPYRIGHT AND LICENSE

   This software is Copyright (c) 2015 by Renee Baecker.

   This is free software, licensed under:

     The Artistic License 2.0 (GPL Compatible)