2012年10月9日

检查perl安装了那些模块的方法

摘要: 1use ExtUtils::Installed;my $inst = ExtUtils::Installed->new();print join " ", $inst->modules();2perldoc perllocal3find `perl -e 'print "@INC"'` -name '*.pm'4 检查某个模块是否已经安装,使用下面命令perl -MYAML::Syck -e "print \"module installed\n\""如果出错则说明此模 阅读全文

posted @ 2012-10-09 22:14 朽木凡材 阅读(321) 评论(0) 推荐(0)

导航