Search code examples
perlstrawberry-perl

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


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?


Solution

  • 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.)