in reply to Re: Printing file to browser
in thread Printing file to browser

Or to be even cleaner (and faster):
open(FILE, 'htmlcal.txt') or die $!,"\n"; print "Content-type: text/html\n\n"; print "What the f***?"; for(<FILE>) { print; } close(FILE);

--isotope
http://www.skylab.org/~isotope/