in reply to Apache cannot locate CGI.pm in @INC

Is that in CGI or in mod_perl? I'm assuming CGI...

Nowhere do you mention what path your new perl is at, but it definitely looks to me like the scripts are simply using a different version of perl. Put the full path for perl 5.8.6 in the shebang line for the scripts, and it should work. For example:

#!/usr/local/bin/perl

Replies are listed 'Best First'.
Re^2: Apache cannot locate CGI.pm in @INC
by ahoffmann (Initiate) on May 24, 2005 at 20:56 UTC
    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.
      Weird.

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