首页 诗词 字典 板报 句子 名言 友答 励志 学校 网站地图
当前位置: 首页 > 教程频道 > 开发语言 > perl python >

perl查看已经装配的模块

2012-11-03 
perl查看已经安装的模块use ExtUtils::Installedmy $inst ExtUtils::Installed-new()my @modules $

perl查看已经安装的模块

use ExtUtils::Installed;my $inst = ExtUtils::Installed->new();my @modules = $inst->modules();foreach (@modules){my $ver = $inst->version($_) || "???";printf( "%-12s --  %s\n", $_, $ver );}

?原文:http://blog.sina.com.cn/s/blog_4af3f0d20100faph.html

热点排行