HTML::Widget::Constraint::Callback - Callback Constraint
my $c = $widget->constraint( 'Callback', 'foo' )->callback(sub { my $value=shift; return 1; });
A callback constraint which will only be run once for each submitted value of each named field.
Arguments: \&callback
Define the callback to be used for validation.
"cb" is an alias for "callback".
perform the actual validation.
Sebastian Riedel, sri@oook.de
sri@oook.de
Marcus Ramberg, mramberg@cpan.org
mramberg@cpan.org
This library is free software, you can redistribute it and/or modify it under the same terms as Perl itself.
To install HTML::Widget, copy and paste the appropriate command in to your terminal.
cpanm
cpanm HTML::Widget
CPAN shell
perl -MCPAN -e shell install HTML::Widget
For more information on module installation, please visit the detailed CPAN module installation guide.