加入收藏 | 设为首页 | 会员中心 | 我要投稿 李大同 (https://www.lidatong.com.cn/)- 科技、建站、经验、云计算、5G、大数据,站长网!
当前位置: 首页 > 大数据 > 正文

如何获取系统中可用的“标准”perl模块列表?

发布时间:2020-12-15 23:23:53 所属栏目:大数据 来源:网络整理
导读:perlmodlib中有一个短语(1): It’s possible that not all modules listed below are installed on your system. For example,the GDBM_File module will not be installed if you don’t have the gdbm library. 如何获得系统中安装的标准模块的实际列表?
perlmodlib中有一个短语(1):

It’s possible that not all modules listed below are installed on your
system. For example,the GDBM_File module will not be installed if you
don’t have the gdbm library.

如何获得系统中安装的标准模块的实际列表?

解决方法

cpan命令可以这样做:

% cpan -a

我写了App::Module::Lister来完成这项工作.虽然它是一个模块,但它也是一个程序,当你像程序一样运行时,你可以做你想要的:

% perl `perldoc -l App::Module::Lister`

其他几个Stackoverflow问题可以解答特定模块的问题,包括:

> How do I check whether a Perl module is installed?
> How can I check if I have a Perl module before using it?
> How to check availability of Perl,its version and presence of a required module?

但是,对于您的特定问题,您真的关心实现DBM功能的是什么吗?你对此有疑问吗?

(编辑:李大同)

【声明】本站内容均来自网络,其相关言论仅代表作者个人观点,不代表本站立场。若无意侵犯到您的权利,请及时与联系站长删除相关内容!

    推荐文章
      热点阅读