在Strawberry Perl中,perl \ lib和perl \ site \ lib有什么区别? [英] In Strawberry Perl, what is the difference between perl\lib and perl\site\lib?

查看:115
本文介绍了在Strawberry Perl中,perl \ lib和perl \ site \ lib有什么区别?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

在Win32的 Strawberry Perl 发行版中,perl\libperl\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有什么区别?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆