1HTML::FormFu::TransformUesre:r:CCaolnltbraicbku(t3e)d PeHrTlMLD:o:cFuomremnFtua:t:iTornansformer::Callback(3)
2
3
4
6 HTML::FormFu::Transformer::Callback - Callback transformer
7
9 version 2.07
10
12 $field->transformer('Callback')->callback( \&my_transformer );
13
14 ---
15 elements:
16 - type: Text
17 name: foo
18 transformers:
19 - type: Callback
20 callback: "main::my_transformer"
21
23 The first argument passed to the callback is the submitted value for
24 the associated field. The second argument passed to the callback is a
25 hashref of name/value pairs for all input fields.
26
28 callback
29 Arguments: \&code-reference
30
31 Arguments: "subroutine-name"
32
34 Is a sub-class of, and inherits methods from HTML::FormFu::Transformer
35
36 HTML::FormFu
37
39 Carl Franks "cfranks@cpan.org"
40
42 This library is free software, you can redistribute it and/or modify it
43 under the same terms as Perl itself.
44
46 Carl Franks <cpan@fireartist.com>
47
49 This software is copyright (c) 2018 by Carl Franks.
50
51 This is free software; you can redistribute it and/or modify it under
52 the same terms as the Perl 5 programming language system itself.
53
54
55
56perl v5.28.1 2018-12H-T1M4L::FormFu::Transformer::Callback(3)