my $dbh = DBI->connect("dbi:Oracle:[db]", '[user]', '[pw]'); $dbh->{RaiseError} = 1;