For Programmers: Free Programming Magazines  


Home > Archive > PERL Beginners > January 2006 > Re: still confused on how to locally install perl modules without administrative priv









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]

 

Author Re: still confused on how to locally install perl modules without administrative priv
Chas Owens

2006-01-20, 6:59 pm

On 1/20/06, Wolcott, Kenneth A <KWOLCOTT@amfam.com> wrote:
> Hi;
>
> It would be really nice if there was a clear, precise, concise,
> accurate and simple instruction of how to install Perl modules locally
> (non-privileged accounts) on Windows systems.
>

snip
> I really can't use ppm from activestate (can't seem to control install
> location).

snip

It looks like you can use ppm. Here is how I did it.

1. run cmd
2. create a directory named perl in your profile's directory
(C:\documents and settings\user)
3. run ppm
4. at the prompt type "target set root <DIR>" where <DIR> is the perl
directory you just created (example: target set root
C:\DOCUME~1\COWENS~1.ISP\perl)
5. type "install <PACKAGE>" where <PACKAGE> is the name of the module
you want installed
6. type "quit"
7. enjoy the moduley goodness

You will probably need to set PERLLIB environmental variable to the
newly create path or hard code the path in with 'use lib' in the
scripts.
Sponsored Links







Also available: Server administration forum archive | Web Design forum archive | Software forum archive | Hardware reviews archive

Copyright 2008 codecomments.com