in reply to Re: Apache cannot locate CGI.pm in @INC
in thread Apache cannot locate CGI.pm in @INC

Old version of Perl: /usr/bin/perl
New version of Perl: /usr/local/bin/perl

I updated the shebang line for the script, but it still gave me the same error.
  • Comment on Re^2: Apache cannot locate CGI.pm in @INC

Replies are listed 'Best First'.
Re^3: Apache cannot locate CGI.pm in @INC
by bart (Canon) on May 24, 2005 at 20:59 UTC
    Weird.

    Try not using any modules, print the content-type header and blank line yourself, and print your debugging info to the browser window.