in reply to Re^2: Can I get the actual error for DBI->execute() ?
in thread Can I get the actual error for DBI->execute() ?
You have RaiseError => 0. Set it to 1 and wrap it in an eval. I'd also recommend using placeholders instead of interpolating variables in strings.