Just another Perl shrine | |
PerlMonks |
Re^3: last_insert_id issueby ikegami (Patriarch) |
on Aug 27, 2014 at 21:35 UTC ( [id://1098814]=note: print w/replies, xml ) | Need Help?? |
In a way that has meaning, makes sense, conveys information, is useful.
Actually, in this situation, it's value is meaningless, makes no sense, conveys no information, useless.
Sorry, I thought the linked document had this. I prefer to pass RaiseError => 1 to connect. Otherwise, if you establish there has been a DBI error, you can get it using DBI->errstr. You can also call errstr on database and statement handles if you want to make sure to get the right error when dealing with multiple handles.
In Section
Seekers of Perl Wisdom
|
|