or download this
$sth = $dbh->prepare("SELECT " . '? ' x $#selector . "FROM people WHER
+E (fornavn LIKE '%$search%') or (eternavn LIKE '%$search%') or (cpr L
+IKE '%$search%'", \%attr); #dunno if you can do the \%attr part...
$sth->execute(@selector);