Just for reference, what I finally did was as follows @attr = ($one, $two); $statement="INSERT INTO example (col1, col2) VALUES (?, ?)" $sth = $dbh->prepare($statement); $sth->execute(@attr); $sth->finish; -- See my blog at http://snap-happy3216.blogspot.com