in reply to Re: Perl DBI: problems inserting data to a table
in thread Perl DBI: problems inserting data to a table
That is, DBI can return a value of 0E0 when an error occurs
Where in the DBI pod does it say when execute returns 0E0 there is an error. execute returns either, rows insert/updated/deleted, -1 (rows altered not known), 0E0 (no rows altered), undef (error)
I think you might be confusing this with the err method which can return '' (empty string) to indicate an informational state and 0 to indicate a warning.
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^3: Perl DBI: problems inserting data to a table
by boftx (Deacon) on Nov 21, 2013 at 11:49 UTC | |
by mje (Curate) on Nov 21, 2013 at 15:12 UTC | |
by runrig (Abbot) on Nov 21, 2013 at 17:03 UTC | |
by boftx (Deacon) on Nov 21, 2013 at 19:43 UTC |