in reply to Re: Quote mark in string messing up mySQL INSERT
in thread Quote mark in string messing up mySQL INSERT

I second this - placeholders is definitely the way to go. Get used to using them - not only will you not have to worry about proper quoting any more, but in some situations you'll get big performance gains. There's really no reason not to use placeholders, and many reasons *to* use them.

You may already by doing this, but since I can't see any in your submitted code, I'll just add that you should be error checking your DBI statements. I typically use "RaiseError" with "eval" - proper error checking is described very nicely in the DBI perldocs.
perldoc DBI
at a command prompt.

HTH.