views:

265

answers:

1

In the Strawberry Perl distribution for Win32, what is the difference between perl\lib and perl\site\lib?

When CPAN modules are installed, are the files all stored in perl\site\lib by default? Is perl\lib reserved for modules that come with the standard Perl distribution?

+7  A: 

The lib directory is for things that are part of the core Perl distribution. The site/lib directory is for things that have been added -- either by the distribution (ActivePerl, Strawberry Perl, etc.) or by the user/site administrator (installs from CPAN, PPM, etc.)

Michael Carman
Thanks Michael. Your explanation matches my understanding.
Damien
To add to this, Strawberry is really doing a somewhat bad thing by putting it's vendor-bundled stuff into site.This will be fixed in the near future (October release)
Adam Kennedy