in reply to trouble using the qq operator with DBI

I'd let DBI take care of the quoting
my $message = "Couldn't connect: Net::FTP: Timeout "; my $dbh = db_connect(); my $sql = qq{ INSERT INTO tblErrorLog (clientID, streamID, errorDetail +s) VALUES (?, ?, ?)}; my $sth = $dbh->prepare( $sql ); $sth->execute($clientID, $streamID, $message); $sth->finish(); db_disconnect($dbh);

--perlplexer