Re: [Hampshire] Instaling Perl modules for one user only...

Top Page

Reply to this message
Author: John Wesley
Date:  
To: lug, Hampshire LUG Discussion List
CC: 
Subject: Re: [Hampshire] Instaling Perl modules for one user only...
On 12/02/07, Vic <lug@???> wrote:
>
> Hi All.
>
> I need to install a perl module on a server - but I don't have
> administrative access :-(
>
> Can anyone point me at a way to install the module in my home area & have
> Apache pick it up?
>
> Thanks!
>
> Vic.
>
>
> --
> Please post to: Hampshire@???
> Web Interface: https://mailman.lug.org.uk/mailman/listinfo/hampshire
> LUG URL: http://www.hantslug.org.uk
> --------------------------------------------------------------
>



Perl has it's own version of a classpath that's normally stored in the
PERL5LIB environment variable. Add the directory containing your module and
it should all be ok!

PERL5LIB=$PERL5LIB:/home/vic/moduledir/

Obviously on a reboot or whatever this will all go away so you might need
something special to cater for that :)

Jonh