Class-DBI-FromForm
view release on metacpan or search on metacpan
FromForm.pm view on Meta::CPAN
die "create_from_form can only be called as a class method" if ref $class;
__PACKAGE__->_run_create( $class, @_ );
}
=head3 update_from_form
Update object.
=cut
sub update_from_form {
my $self = shift;
die "update_from_form cannot be called as a class method" unless ref $self;
__PACKAGE__->_run_update( $self, @_ );
}
sub _run_create {
my ( $me, $class, $results ) = @_;
my $them = bless {}, $class;
my $cols = {};
( run in 0.231 second using v1.01-cache-2.11-cpan-4d4bc49f3ae )