Beefy Boxes and Bandwidth Generously Provided by pair Networks
The stupid question is the question not asked
 
PerlMonks  

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?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others about the Monastery: (8)
As of 2020-11-30 15:04 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found

    Notices?