1Validation::Class::DireUcsteirveC:o:nMturlitbiuptleVedasl(Pi3ed)raltiDoonc:u:mCelnatsast:i:oDnirective::Multiples(3)
2
3
4

NAME

6       Validation::Class::Directive::Multiples - Multiples Directive for
7       Validation 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_options => {
18                       multiples => 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::Multiples is a core validation class
33       field directive that validates whether the associated parameters may
34       contain a multi-value (an array of strings).
35

AUTHOR

37       Al Newkirk <anewkirk@ana.io>
38
40       This software is copyright (c) 2011 by Al Newkirk.
41
42       This is free software; you can redistribute it and/or modify it under
43       the same terms as the Perl 5 programming language system itself.
44
45
46
47perl v5.30.0                      201V9a-l0i7d-a2t6ion::Class::Directive::Multiples(3)
Impressum