DBIx::Skinny::Transaction - transaction manager for DBIx::Skinny
sub do_work { my $txn = Your::Model->txn_scope; # start transaction my $row = Your::Model->single('user', {id => 1}); $row->set({name => 'nekokak'}); $row->update; $txn->commit; # commit }
Data::Model
To install DBIx::Skinny, copy and paste the appropriate command in to your terminal.
cpanm
cpanm DBIx::Skinny
CPAN shell
perl -MCPAN -e shell install DBIx::Skinny
For more information on module installation, please visit the detailed CPAN module installation guide.