Reference

HTML::FormFu::Deflator::Callback(3pm)

Callback deflator

NAME

HTML::FormFu::Deflator::Callback - Callback deflator

VERSION

version 2.07

SYNOPSIS

    $field->deflator('Callback')->callback( \&my_callback );
    ---
    elements:
      - type: Text
        name: foo
        deflators:
          - type: Callback
            callback: "main::my_deflator"

DESCRIPTION

Callback deflator.

METHODS

callback

Arguments: \&code-reference

Arguments: "subroutine-name"

SEE ALSO

Is a sub-class of, and inherits methods from HTML::FormFu::Deflator

HTML::FormFu::FormFu

AUTHOR

Carl Franks "[email protected]"

LICENSE

This library is free software, you can redistribute it and/or modify it under the same terms as Perl itself.

AUTHOR

Carl Franks <[email protected]>

COPYRIGHT AND LICENSE

This software is copyright (c) 2018 by Carl Franks.

This is free software; you can redistribute it and/or modify it under the same terms as the Perl 5 programming language system itself.

History