The Perl Toolchain Summit needs more sponsors. If your company depends on Perl, please support this very important event.

NAME

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

VERSION

version 2.03

DESCRIPTION

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

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. Remeber 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

SEE ALSO

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

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

AUTHOR

Carl Franks cfranks@cpan.org, Dean Hamstead dean@bytefoundry.com.au

LICENSE

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