1Validation::Class::DireUcsteirveC:o:nMtirxiibnuFtVieaedllidPd(ea3rt)lioDno:c:uCmleanstsa:t:iDoinrective::MixinField(3)
2
3
4

NAME

6       Validation::Class::Directive::MixinField - MixinField 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                   first_name => {
18                       required => 1,
19                       filters  => ['trim', 'strip']
20                   },
21                   last_name => {
22                       mixin_field => 'first_name'
23                   }
24               }
25           );
26
27           # set parameters to be validated
28           $rules->params->add($parameters);
29
30           # validate
31           unless ($rules->validate) {
32               # handle the failures
33           }
34

DESCRIPTION

36       Validation::Class::Directive::MixinField is a core validation class
37       field directive that determines what fields will be used as templates
38       and merged with the associated field.
39

AUTHOR

41       Al Newkirk <anewkirk@ana.io>
42
44       This software is copyright (c) 2011 by Al Newkirk.
45
46       This is free software; you can redistribute it and/or modify it under
47       the same terms as the Perl 5 programming language system itself.
48
49
50
51perl v5.32.1                      20V2a1l-i0d1a-t2i7on::Class::Directive::MixinField(3)
Impressum