or download this
my $sql = sprintf('INSERT INTO entry VALUES(%s, %s, %s, %s, %s, %s,
+ %s, %s, %s)',
$dbh->quote($host),
...
$dbh->quote($subj),
$dbh->quote($score)
);
or download this
my $sth = $dbh->prepare( 'INSERT INTO entry VALUES(?,?,?,?,?,?,?,?,?)
+' );
$sth->execute( $host, $filename, $datestamp,
$type, $size, $from,
$to, $sub, $score
);