my $query = q! INSERT INTO logfile ("Date Send","Certificate file") VALUES ({d '2002-01-01'},'junk') !; # other code here