> > Select email from order_info where name = 'Tim O'Reilly' > DBD::CSV::db prepare failed: Mismatched single quote before: 'Reilly' > Cannot prepare Select email from order_info where name = 'Tim O'Reilly': > Mismatched single quote before: 'Reilly'
Did you try: where name = $dbh->quote("Tim O'Reilly")
Might solve the problem.
Maarten
