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

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

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 "cfranks@cpan.org"

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