in reply to Re^2: Strange Execute Issue from PERL
in thread Strange Execute Issue from PERL
You currently have:
$rv = $sth->execute or die "can't execute the query: $sth->errstr";
I suggest that you change it into
$rv = $sth->execute or die "can't execute the query: " . $sth->errstr;
... so that you see the actual error message from your database driver.
If you look at the error message you got until now, you see DBI:: st=HASH(0x1a07924)-> errstr in there, which is much less informative than the actual return value of ->errstr.
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^4: Strange Execute Issue from PERL
by LHowell (Initiate) on May 07, 2011 at 23:33 UTC | |
by Corion (Patriarch) on May 08, 2011 at 06:53 UTC | |
by LHowell (Initiate) on May 09, 2011 at 00:59 UTC |