HTML::FormFu::Inflator::Callback(3p)

NAME
HTML::FormFu::Inflator::Callback - Callback inflator

SYNOPSIS
    $field->inflator('Callback')->callback( \&my_callback );

    ---
    elements:
      - type: Text
        name: foo
        inflators:
          - type: Callback
            callback: "main::my_inflator"

DESCRIPTION
Callback inflator.

METHODS

  callback
Arguments: \&code-reference

Arguments: "subroutine-name"

SEE ALSO
Is a sub-class of, and inherits methods from HTML::FormFu::Inflator

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.