NAME

MooseX::Types::Email::Loose - Email address loose validation type constraint for Moose.

SYNOPSIS

package MyClass;
use Moose;
use MooseX::Types::Email::Loose qw/EmailAddress EmailMessage EmailAddressLoose/;

has email        => ( isa => EmailAddress,      required => 1, is => 'ro' );
has message      => ( isa => EmailMessage,      required => 1, is => 'ro' );
has email_mobile => ( isa => EmailAddressLoose, required => 0, is => 'rw' );

DESCRIPTION

MooseX::Types::Email::Loose is a subclass of MooseX::Types::Email, which uses Email::Valid::Loose to check for valid email addresses.

IMPLEMENTATION

This module implements only EmailAddressLoose.

Also can export EmailAddress and EmailMessage, but they are implemented in MooseX::Types::Email.

AUTHOR

hayajo <hayajo@cpan.org>

SEE ALSO

MooseX::Types::Email, Email::Valid::Loose

LICENSE

This library is free software; you can redistribute it and/or modify it under the same terms as Perl itself.