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( 'test@exampl.com' );
        ...
        
        # use the plugin via Data::Validate::WithYAML
        
        use Data::Validate::WithYAML;
        
        my $email     = 'test@exampl.com';
        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 <reneeb@cpan.org>

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)