Carl Franks > HTML-FormFu > HTML::FormFu::Deflator::Callback

Download:
HTML-FormFu-2.01.tar.gz

Dependencies

Annotate this POD

CPAN RT

New  12
Open  4
Stalled  1
View/Report Bugs
Module Version: 2.01   Source  

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.

syntax highlighting: