in reply to Basic @INC Question Related to Succesful Mod Installs

When you say you "found a perl version in the server", do you mean that you installed a newer version of perl on your system?

If so, you'll need to make sure that you are running that perl instead of your older system perl. Even if you change your PATH so that you pick up your newer perl, you may find that some scripts you have start with '#!/usr/bin/perl' which will use the system perl. If you start your scripts with '#!/usr/bin/env perl' then this will check your PATH and find the newer one.

Otherwise, follow the advice in the other posts and use CPAN to install modules. It will put them in the correct place for the version of perl you use to run CPAN.

  • Comment on Re: Basic @INC Question Related to Succesful Mod Installs

Replies are listed 'Best First'.
Re^2: Basic @INC Question Related to Succesful Mod Installs
by Fletch (Bishop) on Nov 01, 2006 at 15:43 UTC

    Of course if one doesn't have sufficient control over what environment your CGI programs are run then using env may just lead to more confusion and delay(</Sir Topham Hatt>). Things exec'd by the web server may not necessarily have anything resembling what your interactive shell gets as a PATH.