1Validation::Class::DireUcsteirveC:o:nEtmraiiblu(t3e)d PeVralliDdoactuimoenn:t:aCtliaosns::Directive::Email(3)
2
3
4

NAME

6       Validation::Class::Directive::Email - Email Directive for Validation
7       Class Field Definitions
8

VERSION

10       version 7.900057
11

SYNOPSIS

13           use Validation::Class::Simple;
14
15           my $rules = Validation::Class::Simple->new(
16               fields => {
17                   user_email => {
18                       email => 1
19                   }
20               }
21           );
22
23           # set parameters to be validated
24           $rules->params->add($parameters);
25
26           # validate
27           unless ($rules->validate) {
28               # handle the failures
29           }
30

DESCRIPTION

32       Validation::Class::Directive::Email is a core validation class field
33       directive that checks the validity of email addresses specified by the
34       associated parameters. Please note, the email directive does not
35       perform a host lookup nor does it conform to the RFC specification. For
36       more sophisticated email validation, please use custom validation with
37       Email::Valid or similar.
38

AUTHOR

40       Al Newkirk <anewkirk@ana.io>
41
43       This software is copyright (c) 2011 by Al Newkirk.
44
45       This is free software; you can redistribute it and/or modify it under
46       the same terms as the Perl 5 programming language system itself.
47
48
49
50perl v5.30.0                      2019-07V-a2l6idation::Class::Directive::Email(3)
Impressum