in reply to Re: Simple DBI question, select rows based on an array
in thread Simple DBI question, select rows based on an array

This is the wrong way!

The right way is to do it like this:

foreach my $value (@values) { $sth->execute($value); }