DBIx-Class-WebForm
view release on metacpan or search on metacpan
lib/DBIx/Class/WebForm.pm view on Meta::CPAN
sub create_from_form {
my $class = shift;
die "create_from_form can only be called as a class method" if ref $class;
__PACKAGE__->_run_create( $class, @_ );
}
=item $self->update_from_form($form)
=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 = {};
foreach my $col ( $them->columns ) {
( run in 0.219 second using v1.01-cache-2.11-cpan-4d4bc49f3ae )