列出所有已安装的模块
从命令行:
cpan -l
从 Perl 脚本:
use ExtUtils::Installed;
my $inst = ExtUtils::Installed->new();
my @modules = $inst->modules();
从命令行:
cpan -l
从 Perl 脚本:
use ExtUtils::Installed;
my $inst = ExtUtils::Installed->new();
my @modules = $inst->modules();