从命令行:
cpan -l
从Perl脚本中:
use ExtUtils::Installed; my $inst = ExtUtils::Installed->new(); my @modules = $inst->modules();