DBIx-Class-WebForm
view release on metacpan - search on metacpan
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 ) {
view all matches for this distributionview release on metacpan - search on metacpan
( run in 0.458 second using v1.00-cache-2.02-grep-82fe00e-cpan-4673cadbf75 )