问题描述
在Win32的 Strawberry Perl 发行版中,perl\lib
和perl\site\lib
有什么区别?
In the Strawberry Perl distribution for Win32, what is the difference between perl\lib
and perl\site\lib
?
在安装CPAN模块时,默认情况下文件是否全部存储在perl\site\lib
中?perl\lib
是否保留用于标准Perl发行版附带的模块?
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?
推荐答案
lib目录用于Perl核心发行版中的内容. site/lib目录用于添加的内容-通过发行版(ActivePerl,Strawberry Perl等)或用户/站点管理员(通过CPAN,PPM等安装)
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.)
这篇关于在Strawberry Perl中,perl \ lib和perl \ site \ lib有什么区别?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!