in reply to Re: not found modules path @INC
in thread not found modules path @INC

thanks for replay

I added given statement in httpconf file.

still facing same issue

code: httpd.conf
LoadModule perl_module modules/mod_perl.so PerlRequire conf/startup.pl PerlSwitches -I/usr/local/apache2/cgi-bin/pages
code: tool.cgi
BEGIN { print STDERR "\n $_\n" foreach @INC; } use strict; use CGI; use Data::Dumper; use CGI::Carp qw(warningsToBrowser fatalsToBrowser); use web::Home; use CONF;

And also I found one thing observe below outputs

output: startup.pl
/usr/local/apache2/cgi-bin/pages /etc/perl /usr/local/lib/perl/5.10.0 /usr/local/share/perl/5.10.0 /usr/lib/perl5 /usr/share/perl5 /usr/lib/perl/5.10 /usr/share/perl/5.10 /usr/local/lib/site_perl
Output: tool.cgi in STDERR
/etc/perl /usr/local/lib/perl/5.10.0 /usr/local/share/perl/5.10.0 /usr/lib/perl5 /usr/share/perl5 /usr/lib/perl/5.10 /usr/share/perl/5.10 /usr/local/lib/site_perl

Here I am not found there module path in tool.cgi sterr output.

Replies are listed 'Best First'.
Re^3: not found modules path @INC
by Anonymous Monk on Oct 24, 2010 at 06:25 UTC

    please provide solution