Should do the trick. You have to print it on a line-by-line basis, which is what the while loop will do.open(FILE,"file.txt") || die; print while <FILE>; close FILE;
In reply to Re: Printing file to browser
by damian1301
in thread Printing file to browser
by nysus
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |