Precedence of lib directories with ActivePerl-5.10.0.1001

Posted by glnarasi on 2007-12-23 22:00
Forums: PPM | OS: Windows XP Pro

I have installed ActivePerl-5.10.0.1001 in
C:\Program Files\Perl

I find nothing in C:\Program Files\Perl\site\lib
except sitecustomize.pl

I believe I need to have DBI DBD etc. in there.

Any help welcme. Thanks

glnarasi | Sun, 2007-12-30 06:35

ActivePerl-5.10.0.1001 C:/Perl/lib is locked. C:/Perl/site/lib is not.
Can't remove installed packages. How do I remove the lock?
If I could I would remove some pckages and reinstall them in
C:/Perl/site/lib which at present has no content.

Thanks gnarasi

grahams
ActiveState Staff
Fri, 2008-01-04 15:59

Use PPM. The /lib area is intended for core modules shipped with the release, and is considered "built-in". The site/lib area used by PPM has precedence over /lib, so if you install an update with PPM, the newer version will be used in preference.

Site/lib is empty because you have not added any modules to the default configuration. Only DBD-SQLite and DBI ship in the core. Any other DBD flavors need to be installed afterwards.