while (my @row = $sth->fetchrow_array) { s|$term|<i>$term</i>| for @row; ... } [download]
In reply to Re: map DBI results by runrig in thread map DBI results by Anonymous Monk