html::formfu::filter::callback(3pm) debian man page | unix.com

Man Page: html::formfu::filter::callback

Operating Environment: debian

Section: 3pm

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

NAME
HTML::FormFu::Filter::Callback - filter with custom subroutine
SYNOPSIS
$field->filter({ type => 'Callback', callback => &my_filter, }); --- elements: - type: Text name: foo filters: - type: Callback callback: "main::my_filter" sub my_filter { my ($value) = @_; # do something to $value return $value; }
DESCRIPTION
Filter using a user-provided subroutine.
METHODS
callback Arguments: &code-reference Arguments: "subroutine-name"
AUTHOR
Carl Franks, "cfranks@cpan.org" Based on the original source code of HTML::Widget::Filter::Callback, by Lyo Kato, "lyo.kato@gmail.com"
LICENSE
This library is free software, you can redistribute it and/or modify it under the same terms as Perl itself. perl v5.14.2 2012-01-23 HTML::FormFu::Filter::Callback(3pm)
Related Man Pages
html::formfu::deflator::formatnumber(3pm) - debian
html::formfu::element::checkboxgroup(3pm) - debian
html::formfu::element::combobox(3pm) - debian
html::formfu::filter(3pm) - debian
html::formfu::validator(3pm) - debian
Similar Topics in the Unix Linux Community
Installing Dash Shell on OS X Lion
awk or sed - Convert 2 lines to 1 line
Introduction
Find columns in a file based on header and print to new file
A (ksh) Library For and From UNIX.com