my $sth = $dbh->prepare("SELECT someFields FROM mytable WHERE myqualifier LIKE ?"); $sth->execute("test*");