in reply to How to print a file line by line?

print "$_<br>\n", while <IN>;

You could also add a little $\ and local magic:

{ local $\ = "<br>\n"; print while <IN>; }