in reply to Mysql syntax error from DBI
I can also strongly recommend you use placeholders in your SQL command. That gets around the ugly quoting problems.