CGI/Perl Guide | Learning Center | Forums | Advertise | Login
Site Search: in

  Main Index MAIN
Search Posts SEARCH
Who's Online WHO'S
Log in LOG

Home: Perl Programming Help: Intermediate:
@INC question



Jun 22, 2001, 8:44 AM

Post #1 of 3 (2027 views)
@INC question Can't Post

I'm having some trouble switching over to a new server. I'm currently running BSDI and am switching to FreeBSD. My hosting company has an automated process that transfers all of my data to a 'shadow' server so that I can test, and so the problems begin...

When running a Perl script I first got the error:

Can't locate in @INC (@INC contains: (path names) )

I modified the @INC to include the path to the module but then get this error:

Can't locate loadable object for module DBI in @INC (@INC contains: (path names) )

It seems that everything is not where is should be, or that I'm asking Perl to look in the wrong places. Is there a way to test the modules or should I try reinstalling them or just keep modifying the @INC or...

Any helpful input is appreciated.


Jun 22, 2001, 10:09 AM

Post #2 of 3 (2021 views)
Re: @INC question [In reply to] Can't Post

I believe DBI is one of those modules that need to be installed by root. It's definitely not the kind of module that you can simply upload to your space -- it needs to be installed and compiled.

Where is DBI installed? Can you ask your new server people to install it?


Jun 22, 2001, 10:31 AM

Post #3 of 3 (2020 views)
Re: @INC question [In reply to] Can't Post

I'm using a Virtual Server product, so I have root access...(sort of). Anyway the module is at:
which is included in my @INC.


Search for (options) Powered by Gossamer Forum v.1.2.0

Web Applications & Managed Hosting Powered by Gossamer Threads
Visit our Mailing List Archives