print "$_<br>\n", while <IN>;
You could also add a little $\ and local magic:
{ local $\ = "<br>\n"; print while <IN>; }
In reply to Re: How to print a file line by line?
by Anonymous Monk
in thread How to print a file line by line?
by Anonymous Monk
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |