Did you test this?
I had to insert the missing semicolon in order to test
and then I got$sthsql->execute( join(', ' , @row) );
execute failed: There are more columns in the INSERT statement than values specified in the VALUES clause. The number of values in the VALUES clause must match the number of columns specified in the INSERT statement.
What happens is that DBI spots the imbedded quotes in the joined string and cleverly escapes them.
See also Can a DBI Placeholder accept multiple values?
In reply to (Re^2: Need help with Insert) Joining bind values doesn't work
by Narveson
in thread Need help with Insert
by padawan_linuxero
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |