Nothing in your code except print sets $! meaningfully, and then only when it returns false.
See the DBI documentation for information on how errors are reported.
In reply to Re: last_insert_id issue
by ikegami
in thread last_insert_id issue
by sowais
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |