Scroll to navigation

HTML::FormFu::Inflator::Callback(3pm) User Contributed Perl Documentation HTML::FormFu::Inflator::Callback(3pm)
 

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.
2014-05-05 perl v5.18.2