No description, website, or topics provided.
Perl
Switch branches/tags
Nothing to show
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
lib/MooseX/Types/Email
t
xt
.gitignore
.shipit
Changes
MANIFEST.SKIP
Makefile.PL
README
README.pod

README.pod

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.