RE: Perl DBI does not print error.

2005-03-10 Thread John Trammell
The print string you show is: "prepare: $insert_sql: $DBI::errstr" but your error message is Unable to execute query: DBI::db=HASH(0x8647df0)->errstr I think your problem is with a print line like: print "Unable to execute query: $dbh->errstr" and Perl is interpolating $dbh, but n

Re: Perl DBI does not print error.

2005-03-10 Thread Joerg Bruehe
Hi! Am Do, den 10.03.2005 schrieb sam um 14:55: > Hi, > > The perl DBI does not prints error message: > $sth = $dbh->prepare($insert_sql) >|| print ERRFILE_OUT "prepare: $insert_sql: $DBI::errstr"; > > The out of this error only does not print why the error was occurred. > eg. > Una