Beefy Boxes and Bandwidth Generously Provided by pair Networks
laziness, impatience, and hubris

Re^2: Require a script not found in @INC array

by Anonymous Monk
on Oct 07, 2004 at 07:58 UTC ( #397239=note: print w/replies, xml ) Need Help??

in reply to Re: Require a script not found in @INC array
in thread Require a script not found in @INC array

I added :

use lib qw(/webroot/d/e/depri001/cgi-bin);

but it still doesn't work. Here's what AdminPro says now:

Can't locate config.cgi in @INC (@INC contains: /webroot/d/e/depri001/cgi-bin /etc/perl /usr/lib/perl5/site_perl/5.8.4/i686-linux /usr/lib/perl5/site_perl/5.8.4 /usr/lib/perl5/site_perl /usr/lib/perl5/vendor_perl/5.8.4/i686-linux /usr/lib/perl5/vendor_perl/5.8.4 /usr/lib/perl5/vendor_perl /usr/lib/perl5/5.8.4/i686-linux /usr/lib/perl5/5.8.4 /usr/local/lib/site_perl .) line 14.

The cgi-bin path appears in the @INC but it still isn't finding the config.cgi. Thanks for the try.

  • Comment on Re^2: Require a script not found in @INC array

Replies are listed 'Best First'.
Re^3: Require a script not found in @INC array
by dragonchild (Archbishop) on Oct 07, 2004 at 12:04 UTC
    Are you absolutely sure you added what 'pwd' says your directory is?

    Also, have you tried my other suggestion of running the script from somewhere other than your cgi-bin? Like, your home directory.

    Being right, does not endow the right to be rude; politeness costs nothing.
    Being unknowing, is not the same as being stupid.
    Expressing a contrary opinion, whether to the individual or the group, is more often a sign of deeper thought than of cantankerous belligerence.
    Do not mistake your goals as the only goals; your opinion as the only opinion; your confidence as correctness. Saying you know better is not the same as explaining you know better.

Log In?

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://397239]
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others examining the Monastery: (2)
As of 2021-05-15 09:34 GMT
Find Nodes?
    Voting Booth?
    Perl 7 will be out ...

    Results (150 votes). Check out past polls.