and this will show the error in your server's error log.open(INFILE, '<', 'textfile.txt') or die "unable to open textfile.txt: + $!"; ...
My guess is that you need to specify an absolute path for textfile.txt.
In reply to Re: Can't open file using Perl as CGI
by pc88mxer
in thread Can't open file using Perl as CGI
by timtowtdi
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |