Вячеслав Тихановский > Input-Validator-0.001005 > Input::Validator::Constraint::Email

Download:
Input-Validator-0.001005.tar.gz

Dependencies

Annotate this POD

View/Report Bugs
Source  

NAME ^

Input::Validator::Constraint::Email - Email constraint

SYNOPSIS ^

    $validator->field('email')->email;

DESCRIPTION ^

Checks whether a value looks like an email address. This is a very simple yet correct validation. It checks if an email has a correct length (name and domain) and has at least one dot in the domain.

METHODS ^

is_valid

Validates the constraint.

SEE ALSO ^

Input::Validator, Input::Constraint

syntax highlighting: