$sql = sprintf "SELECT foo FROM bar WHERE baz = %s", $dbh->quote("Don't");