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.
In reply to Re: cgi, library of subroutines, use with require?
by aaron_baugher
in thread cgi, library of subroutines, use with require?
by eileen0
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |