Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Perl
branch: master

Fetching latest commit…

Cannot retrieve the latest commit at this time

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.

Something went wrong with that request. Please try again.