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);
(Untested as always...)
In reply to Re: file access
by stephen
in thread file access
by kingboa
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |