my $sth = $dbh->prepare("INSERT INTO foo (bar, baz, quux) VALUES (?, ?, ?)"); $sth->execute($bar, $baz, $quux);