in reply to cgi, library of subroutines, use with require?
When something works on the command line but doesn't work as a CGI, it's almost always a path or permissions difference. Since you're using a full path here, it shouldn't be that, so I'd suspect permissions. Are you sure the user your CGI runs as can access that file? Depending on how the web server is configured, a CGI might be running as the web server user (www, apache, or something like that), or it could be running as the owner of the CGI using something like suexec.
Aaron B.
Available for small or large Perl jobs; see my home node.
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^2: cgi, library of subroutines, use with require?
by eileen0 (Initiate) on Oct 09, 2013 at 03:15 UTC | |
by Anonymous Monk on Oct 09, 2013 at 06:47 UTC |