in reply to Printing file to browser
This will effectivly make the entire file one record. So using <> in the scalar context will return the entire file.undef $/; open (FILE, 'htmlcal.txt'); print "Content-Type: text/html\n\n"; print "What the f***?"; print <FILE>; close FILE;
I just used this today by chance.
- FrankG
|
|---|