in reply to Can't open file using Perl as CGI
The program is likely (a) not running in the directory you think it is, and/or (b) not running as a user with permissions to read the file.
You might try printing the current directory out in your program.
...roboticus
who isn't going to even mention using the CGI.pm module....
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^2: Can't open file using Perl as CGI
by JennieInMI (Acolyte) on Dec 27, 2012 at 02:14 UTC |