问题
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?
回答1:
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.)
来源:https://stackoverflow.com/questions/1352267/in-strawberry-perl-what-is-the-difference-between-perl-lib-and-perl-site-lib