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

可紊 提交于 2019-12-12 11:22:01

问题


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

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!