查看所安装的 Perl 模块

Perl modules今天在perlchian的mail-list上有人提出这样的问题

如何查看已经安装的perl模块?

问答是这样的

1
2
3
4
use ExtUtils::Installed;

my $inst = ExtUtils::Installed->new();
print join "\n", $inst->modules();

在我的 ubuntu dapper 上则看到这些模块,很显然,我在公司的个人工作电脑上还不是很喜欢用 perl 。

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
$ perl
use ExtUtils::Installed;
my $inst = ExtUtils::Installed->new();
print join "\n", $inst->modules();
Archive::Tar
Archive::Zip
Comcodess::Zlib
Cwd
Digest::SHA
File::HomeDir
Module::Build
Module::Signature
Net::Telnet
Perl
Spiffy
Term::ReadKey
Term::ReadLine
Test::Base
Test::Simple
Text::Glob
YAML
Share

Related Posts

0 Responses to “查看所安装的 Perl 模块”


  • No Comments

Leave a Reply