logo
Free, unlimited AI code reviews that run on commit
git-lrc git-lrc GitHub Install Now We'd appreciate a star git-lrc - Free, unlimited AI code reviews that run on commit | Product Hunt git-lrc - Free, unlimited AI code reviews that run on commit | Product Hunt

HTML::FormFu::Constraint::Email - Email Address Constraint

Author

       Carl Franks <cpan@fireartist.com>

Description

       Checks the input value is an email address according to the "address" method of Email::Valid.

License

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

Methods

options
       Arguments: $string

       Arguments: \@strings

       Arguments: \%keypairs

       Options are passed to Email::Valid. An array or single option is passd through with each option as
       'true'. Using a hash instead, you can pass through more specific key pair options. Remember in both cases
       to omitted the leading dash that you would otherwise need if using Email::Valid directly.

         type: Email
         options:
           - macheck
           - tldcheck
           - fudge
           - fqdn
           - allow_ip
           - local_rules

   SEEALSO
       Is a sub-class of, and inherits methods from HTML::FormFu::Constraint

       The available options are as per Email::Valid but without the '-'

Name

       HTML::FormFu::Constraint::Email - Email Address Constraint

Version

       version 2.07

See Also