sub commit { my $self = shift; $self->{'dbh'}->commit(); } sub rollback { my $self = shift; $self->{'dbh'}->rollback(); }