$sth = $dbh->prepare("INSERT INTO table(path) VALUES(?)"); $sth->execute($path);