"; while($line = ) { $line = &html_escape($line); foreach $f (@for) { $line =~ s/($f)/$1<\/b>/ig; } $out .= $line; } close(DOC); $out .= "