Anonymous Monk has asked for the wisdom of the Perl Monks concerning the following question:
now, (these names are case-accurate by the way), in the script I have the following lines:public_html | +--cgi-bin | +--lib (chmodded 700) | | | +--LWP (chmodded 700) | | | | | +--Simple.pm (module I need to use, chmodded 755) | | | +--HTTP (chmodded 700) | | | +--Status.pm (needed by Simple.pm, chmodded 755) | +--script.cgi (script I'm accessing via browser, chmodded 755)
And when I run it via browser, I get:BEGIN { use CGI::Carp qw/fatalsToBrowser/; push(@INC,"/home/user/public_html/cgi-bin/lib"); }
So...whats the problem?Can't locate LWP/Simple.pm in @INC (@INC contains: /usr/lib/perl5/5.6. +0/i386-linux /usr/lib/perl5/5.6.0 /usr/lib/perl5/site_perl/5.6.0/i386-linux /usr/li +b/perl5/site_perl/5.6.0 /usr/lib/perl5/site_perl . /home/user/public_html/cgi-bin/lib) at /home/user/public_html/cgi-bin/script.cgi line 10.
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: problem installing modules...
by Tuna (Friar) on Mar 03, 2001 at 00:44 UTC | |
|
Re: problem installing modules...
by Masem (Monsignor) on Mar 03, 2001 at 00:25 UTC |