in reply to Re^2: Best way to deal with quotes in string with DBI
in thread Best way to deal with quotes in string with DBI
It's not how I would write it, but the OP was having problems with quoting strings.
It's no more complicated than the original code, and solves the quoting issues using the preferred DBI quoting interface. Placeholders aren't the one and only method of handling quoting issues and it's not my place to tell the OP how to code.