HTML::FormFu::Filter::Callback3pm
Filter with custom subroutine
Usage
$field->filter({type => 'Callback',callback => \&my_filter,});---elements:- type: Textname: foofilters:- type: Callbackcallback: "main::my_filter"sub my_filter {my ($value) = @_;# do something to $valuereturn $value;}
Version
version 2.07
Overview
Filter using a user-provided subroutine.
Methods
callback
Arguments: \&code-reference
Arguments: "subroutine-name"
Copyright and license
This software is copyright (c) 2018 by Carl Franks.
This is free software; you can redistribute it and/or modify it under the same terms as the Perl 5 programming language system itself.
Releases
8 releases since Debian 6.0 (Squeeze); the text changed 5 times.