my $sql = "SELECT foo FROM bar WHERE baz IN (?,?,?)"; my $sth = $dbh->prepare( $sql ); $sth->execute( "a", "b", "c");