in reply to file access
Here's yet another way of doing the same thing:
#!/usr/bin/perl use strict; use File::Copy; print STDOUT "Content-type: text/plain\n\n"; copy('yourfile.txt', \*STDOUT); [download]
(Untested as always...)