Nigel Metheringham > HTML-FormFu > HTML::FormFu::Constraint::Email

Download:
HTML-FormFu-2.05.tar.gz

Dependencies

Annotate this POD

Website

CPAN RT

New  9
Open  9
Stalled  1
View/Report Bugs
Module Version: 2.05   Source  

NAME ^

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

VERSION ^

version 2.05

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.

syntax highlighting: