|
|
| "be consistent" | |
| PerlMonks |
Custom DBD error messageby packetstormer (Scribe) |
| on Nov 12, 2012 at 15:59 UTC ( #1003472=perlquestion: print w/ replies, xml ) | Need Help?? |
|
packetstormer has asked for the
wisdom of the Perl Monks concerning the following question:
Hello Monks I have a small Perl script that parses a csv file, builds a hash and then, depenging on certain things, inserts some/all of the data into a MySQL table.
My problem is that, although this all works fine, the message sent back to the end user, from the script, is something like:
DBD::mysql::st execute failed: Duplicate entry '167423-192.168.160.153-b8:12:xx:yy:zc-2012-11-10 11:21:43' for key 'idx_unique_session While this is fine for me, the end user won't have a clue what is going on!
Back to
Seekers of Perl Wisdom
|
|
||||||||||||||||||||||||