From: Deviloper <[EMAIL PROTECTED]> > > If you use RaiseErrors, DBI dies in case of error. In a daemonlike > script, that is properly the last thing you want to happen.
Not really. die() doesn't mean "exit the script with this message". It means "throw this exception and in case no one catches it exit and print the message". Have a look at perldoc -f eval (the block form) > the perldoc on finish() might has missed out, that if autocommit is > deactivated, it is not guaranteed that the commit to db is done at the > moment the instruction is executed. If autocommit is disabled then the commit to db is not done until you explicitely call $dbh->commit();. $dbh->finish() has got nothing to do with that. Jenda ===== [EMAIL PROTECTED] === http://Jenda.Krynicky.cz ===== When it comes to wine, women and song, wizards are allowed to get drunk and croon as much as they like. -- Terry Pratchett in Sourcery -- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] http://learn.perl.org/