in reply to trouble using the qq operator with DBI

use the DBI quote method:

my $message = $dbh->quote( "Couldn't connect: Net::FTP: Timeout" ); ...

-derby