DBIx-Class-Result-Validation

 view release on metacpan or  search on metacpan

lib/DBIx/Class/Result/Validation.pm  view on Meta::CPAN

}

=head2 update

Call before DBIx::Class::Base update

Update is done only if validate method return true

=cut

sub update {
    my $self = shift;
    if ( my $columns = shift ) {
        $self->set_inflated_columns($columns);
    }
    return $self->_try_next_method( $self->next::can, @_ );
}

sub _try_next_method {
    my $self        = shift;
    my $next_method = shift;

 view all matches for this distribution
 view release on metacpan -  search on metacpan

( run in 0.542 second using v1.00-cache-2.02-grep-82fe00e-cpan-4673cadbf75 )