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 complain they can't find it.
>  
> please give me some advice how to install perl modules in your local 
> directories.
>  
>  
> Emily

-- 
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
<http://learn.perl.org/> <http://learn.perl.org/first-response>


Reply via email to