1HTML::FormFu::TransformUesre:r:CCaolnltbraicbku(t3e)d PeHrTlMLD:o:cFuomremnFtua:t:iTornansformer::Callback(3)
2
3
4

NAME

6       HTML::FormFu::Transformer::Callback - Callback transformer
7

SYNOPSIS

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

DESCRIPTION

20       The first argument passed to the callback is the submitted value for
21       the associated field. The second argument passed to the callback is a
22       hashref of name/value pairs for all input fields.
23

METHODS

25   callback
26       Arguments: \&code-reference
27
28       Arguments: "subroutine-name"
29

SEE ALSO

31       Is a sub-class of, and inherits methods from HTML::FormFu::Transformer
32
33       HTML::FormFu
34

AUTHOR

36       Carl Franks "cfranks@cpan.org"
37

LICENSE

39       This library is free software, you can redistribute it and/or modify it
40       under the same terms as Perl itself.
41
42
43
44perl v5.12.1                      2010-05H-T1M6L::FormFu::Transformer::Callback(3)
Impressum