1Validation::Class::DireUcsteirveC:o:nMtarxiSbyumtVbeaodllisPd(ea3rt)lioDno:c:uCmleanstsa:t:iDoinrective::MaxSymbols(3)
2
3
4
6 Validation::Class::Directive::MaxSymbols - MaxSymbols Directive for
7 Validation Class Field Definitions
8
10 version 7.900059
11
13 use Validation::Class::Simple;
14
15 my $rules = Validation::Class::Simple->new(
16 fields => {
17 password => {
18 max_symbols => 30
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
32 Validation::Class::Directive::MaxSymbols is a core validation class
33 field directive that validates the length of non-alphanumeric
34 characters in the associated parameters.
35
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.38.0 20V2a3l-i0d7a-t2i1on::Class::Directive::MaxSymbols(3)