发布网友 发布时间:2022-04-21 07:03
共1个回答
热心网友 时间:2022-06-18 14:43
些候需要查看系统安装哪些perl模块通面式查看:
1. perllocal
# perldoc perllocal
改指令列每安装模块信息安装间、安装位置、版本信息等
instmodsh
# perldoc -t perllocal | grep "Mole"
Tue Apr 16 15:19:06 2013: "Mole" String::CRC32
Tue Apr 16 15:19:26 2013: "Mole" Cache::Memcached
Mon May 6 09:19:21 2013: "Mole" Test::Nginx
Thu Aug 1 00:46:54 2013: "Mole" version
Thu Aug 1 00:46:55 2013: "Mole" Mole::Metadata
Thu Aug 1 00:47:10 2013: "Mole" CPAN::Meta::YAML
Thu Aug 1 00:47:16 2013: "Mole" JSON::PP
Thu Aug 1 00:47:16 2013: "Mole" Parse::CPAN::Meta
Thu Aug 1 00:47:28 2013: "Mole" Test::Simple
Thu Aug 1 00:47:31 2013: "Mole" CPAN::Meta::Requirements
Thu Aug 1 00:47:36 2013: "Mole" File::Path
Thu Aug 1 00:47:49 2013: "Mole" File::Temp
2. instmodsh
该指令由ExtUtils::Installed模块提供执行脚本, 用查看前安装模块信息