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.
|