Help for this page
my $dbh = DBI->connect(...); ... $sth->execute() or rollback; } };
transaction($dbh) { # code };