in reply to DBI - check erroneous statement?
Are you not checking the return status?
my $rv = $sth->execute() or die $sth->errstr;
This should throw an error and indicate where the problem with the SQL is.
Update: For more information see the DBI documentation.
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^2: DBI - check erroneous statement?
by DreamT (Pilgrim) on Nov 19, 2010 at 16:08 UTC | |
by marto (Cardinal) on Nov 19, 2010 at 16:18 UTC | |
by mje (Curate) on Nov 19, 2010 at 17:54 UTC |