Definitelly, we've been talking about this for a while now. Not sure if Tim had something already set up for the next release???, but if not a patch would be great!
Ilya > From: Matthew Wickline [mailto:[EMAIL PROTECTED]] > > Would folks be interested in the option of specifying a > coderef for the > RaiseError option? > > you might then have: > > $dbh = DBI->connect( > $dsn, $user, $password, > { RaiseError => \&bug_out, AutoCommit => 0 } > ); > sub bug_out { > # log stuff, send email, run around in circles, > # etc > } > This sort of thing would seem to be backwards compatible, > while offering > additional programmer flexibility (and maybe getting rid of > the need to > use eval in some cases?).
