in reply to Recoding a multi-sql-statement storedProc transaction in a script
eval { for(@stmts) { my $sth = $dbh->prepare($_); $sth->execute; } }; [download]