単発で SQL コマンドを実行する ---- use DBI; my $SQL_COMMAND = "UPDATE hoge_table SET FOO = 'bar' WHERE FOO = 'baz'"; my $dbh = DBI->connect('dbi:Oracle:', 'username', 'passwd', { RaiseError => 1, AutoCommit => 1 }); $dbh->do($SQL) $dbh->disconnect(); ----