[pgh-pm] Windows Installation

Chris Winters chris at cwinters.com
Thu Jul 28 07:24:05 PDT 2005


* Weber, Larry A (laweber at switch.com) [050728 10:04]:
> I need to have ActiveState's Perl installed on both my local pc (for script
> development) and on a network drive (for department use of my scripts).
> Does anyone know how to modify an installation so that I can control where
> ppm installs packages and where Perl looks for libraries, etc.. 
> 
> If I copy my local installation to the network drive, the network copy of
> ppm installs packages onto my local machine and not the network
> installation.  Same for libraries, etc.  I assume there must be
> configuration files in there somewhere????

There's a script/batch-file 'reloc_perl' in the ActiveState bin/ that
I think will do part of what you want. But I think AS also stores some
settings in the registry so there may be some additional wrangling you
have to do.

The other, more lightweight thing you can do to modify where Perl
looks for libraries is set the PERL5LIB environment variable
(semicolon-delimited directories). These get added at runtime to your
@INC.

Chris

-- 
Chris Winters (http://www.cwinters.com)
Building enterprise-capable snack solutions since 1988


More information about the pgh-pm mailing list