Chinaunix首页 | 论坛 | 博客
  • 博客访问: 730369
  • 博文数量: 95
  • 博客积分: 1754
  • 博客等级: 上尉
  • 技术积分: 1607
  • 用 户 组: 普通用户
  • 注册时间: 2010-03-12 10:06
文章分类

全部博文(95)

文章存档

2015年(3)

2013年(15)

2012年(77)

分类: Python/Ruby

2012-06-16 21:29:40

当你苦恼不知道自己安装那些PERL模块时,请用如下脚本。
-----
#/usr/bin/perl
use strict;
use ExtUtils::Installed;
my $inst = ExtUtils::Installed->new();
my @modules = $inst->modules();
foreach(@modules){
 my $ver = $inst->version($_) || "???";
 printf("%-12s -- %s\n",$_,$ver);
 }
 
exit;
 
------
阅读(1731) | 评论(0) | 转发(0) |
0

上一篇:深入理解V$视图

下一篇:MySQL优化实例

给主人留下些什么吧!~~