Catalyst-Plugin-Form-Processor
view release on metacpan or search on metacpan
lib/Catalyst/Plugin/Form/Processor.pm view on Meta::CPAN
$args{schema} = $c->model( $schema_name )->schema
if defined $schema_name;
}
}
$args{user_data}{context} = $c;
# Since $c holds a reference to the form and the form holds
# a reference to the context must weaken.
Scalar::Util::weaken( $args{user_data}{context} );
return $c->stash->{form} = $package->new( %args );
} ## end sub form
sub validate_form {
my ( $c, @rest ) = @_;
( run in 0.293 second using v1.01-cache-2.11-cpan-65fba6d93b7 )