NAME
MooseX::Types::Email - Email address validation type constraint for Moose.
SYNOPSIS
package MyClass;
use Moose;
use MooseX::Types::Email qw/EmailAddress/;
use namespace::autoclean;
has email => ( isa => EmailAddress, required => 1, is => 'ro' );
DESCRIPTION
Moose type constraint which uses Email::Valid to check for valid email addresses.
SEE ALSO
AUTHORS
Tomas Doran (t0m) <bobtfish@bobtfish.net>
Shamelessly extracted from Reaction::Types::Email.
LICENSE
This library is free software, you can redistribute it and/or modify it under the same terms as Perl itself.