Home > Archive > PERL CGI Beginners > June 2006 > perl modules
You are viewing an archived Text-only version of the thread.
To view this thread in it's original format and/or if you want to reply to
this thread please [click here]
|
|
| Yue Lu 2006-06-17, 7:56 am |
| I am a unix user, but I am not a superuser, so I tried to install more perlmodules, I have to install in my local directories, I used CPAN to installthem, but some module depend on other modules which I already installed before, and they always complain they can't find it.
please give me some advice how to install perl modules in your local directories.
Emily
________________________________________
_________________________
Search on the go: Try Windows Live(tm) Search for Mobile beta
http://www1.imagine-msn.com/minisit...px?locale=en-us
| |
| Shaun Fryer 2006-06-17, 7:56 am |
| Hi Emily,
From your shell, you can execute...
export PERL5LIB=/path/to/your/perl/module/install/directory
....or it's equivalent (see `man <your_shell>`).
You can add it to your .bash_profile or equivalent in case you
don't want to type it in manually every time. Or, if you are running
a local apache instance (w/ mod_perl), you may also add the following
to your httpd.conf.
PerlSetEnv PERL5LIB /path/to/your/perl/module/install/directory
Hope that helps.
-Shaun
On Wed, Jun 07, 2006 at 11:24:57AM -0500, yue lu wrote:
> I am a unix user, but I am not a superuser, so I tried to install more perl modules, I have to install in my local directories, I used CPAN to install them, but some module depend on other modules which I already installed before, and they always compla
in they can't find it.
>
> please give me some advice how to install perl modules in your local directories.
>
>
> Emily
|
|
|
|
|