1HTML::FormFu::ValidatorU:s:eCralClobnatcrki(b3u)ted PerlHTDMoLc:u:mFeonrtmaFtui:o:nValidator::Callback(3)
2
3
4

NAME

6       HTML::FormFu::Validator::Callback - Callback validator
7

SYNOPSIS

9           $field->validator('Callback')->callback( \&my_validator );
10
11           ---
12           elements:
13             - type: Text
14               name: foo
15               validators:
16                 - type: Callback
17                   callback: "main::my_validator"
18

DESCRIPTION

20       Callback validator.
21

METHODS

23   callback
24       Arguments: \&code-reference
25
26       Arguments: "subroutine-name"
27

SEE ALSO

29       Is a sub-class of, and inherits methods from HTML::FormFu::Validator
30
31       HTML::FormFu
32

AUTHOR

34       Carl Franks "cfranks@cpan.org"
35

LICENSE

37       This library is free software, you can redistribute it and/or modify it
38       under the same terms as Perl itself.
39
40
41
42perl v5.12.1                      2010-05-1H6TML::FormFu::Validator::Callback(3)
Impressum