my $sth = $dbh->prepare('INSERT INTO table VALUES(?, ?, ?)'); # insert two rows with three numbers each: $sth->execute(3, 4, 5); $sth->execute(6, 7, 8);