HTML::Widget::Constraint::Callback3pm
Callback constraint
Usage
my $c = $widget->constraint( 'Callback', 'foo' )->callback(sub {my $value=shift;return 1;});
Overview
A callback constraint which will only be run once for each submitted value of each named field.
Methods
callback
cb
Arguments: \&callback
Define the callback to be used for validation.
"cb" is an alias for "callback".
validate
perform the actual validation.
Releases
10 releases since Debian 4.0 (Etch); the text changed 7 times.