Data-FormValidator-Constraints-HTTP
view release on metacpan - search on metacpan
view release on metacpan or search on metacpan
}
1;
...
package My::App::Controller::Foo;
use Data::FormValidator::Constraints::HTTP qw( POST );
sub update : Local {
my ($self, $c, $foo) = @_;
$foo = $c->model('Schema::Foo')->find( $foo );
$c->form(
required => [ qw( method name author ) ],
constraint_methods => {
method => POST,
name => FV_min_length( 6 ),
# ... yadda, yadda, yadda
},
lib/Data/FormValidator/Constraints/HTTP.pm view on Meta::CPAN
...
package My::App::Controller::Foo;
use Data::FormValidator::Constraints::HTTP qw( POST );
sub update : Local {
my ($self, $c, $foo) = @_;
$foo = $c->model('Schema::Foo')->find( $foo );
$c->form(
required => [ qw( method name author ) ],
constraint_methods => {
method => POST,
name => FV_min_length( 6 ),
# ... yadda, yadda, yadda
},
view all matches for this distributionview release on metacpan - search on metacpan
( run in 0.604 second using v1.00-cache-2.02-grep-82fe00e-cpan-4673cadbf75 )