最新消息:

查看已安装的perl模块

Perl admin 3512浏览 0评论

1、perldoc perllocal

2、推荐pmtools里的pminst命令

http://search.cpan.org/src/MLFISHER/pmtools-1.01/pminst

3、编写如下标本
#!/usr/bin/perl
use ExtUtils::Installed;
my $inst = ExtUtils::Installed->new();
print join “\n”, $inst->modules();

4、Most of them will probably already be available in your installation. You can   check version numbers with the configure script, or if you’re still trying to get to that point, check from the command line like this:      perl -e ‘use FileHandle; print $FileHandle::VERSION.”\n”‘

 

转载请注明:爱开源 » 查看已安装的perl模块

您必须 登录 才能发表评论!