in reply to CGI program failed to work

Your shebang line says something like #!/usr/bin/perl but on the command line you say
perl some.cgi
and it works that way right?

If this is the case, your shebang line needs to be changed to point to the same version of perl that you are calling on the command line. Type this on the command line to get a hint.

locate perl
Good luck.

Replies are listed 'Best First'.
Re: Re: CGI program failed to work
by chaski (Initiate) on Jan 28, 2003 at 13:06 UTC
    I am on solaris using csh.. There is no LOCATE command available... Anyway.. even if you use : perl script.cgi or just script.cgi it works... thanks