Perl Modules versions - useful info

Pentland G. G.Pentland at SOTON.AC.UK
Mon Nov 29 17:15:13 GMT 2004


All,

I've been trying to remember for a while the easy way to see what perl
modules you have installed...

If you don't already know this is how

#!/usr/bin/perl

use ExtUtils::Installed;

my $inst = ExtUtils::Installed->new();
my @modules = $inst->modules();

foreach (@modules) {
  my $version = $inst->version($_);
  print "$_ $version\n";
}

gives...

Archive::Zip 1.10
Compress::Zlib 1.33
Convert::BinHex 1.119 
Convert::TNEF 0.17
DBD::Oracle 1.16
DBI 1.46
DB_File 1.810
Digest 1.00
Digest::HMAC 1.01
Digest::SHA1 2.10
File::Spec 0.83
File::Temp 0.13
HTML::Parser 3.26
HTML::Tagset 3.03
IO-stringy 
MIME-tools 
MIME::Base64 2.12
Mail 
Mail::SPF::Query 1.997
Mail::SpamAssassin 3.000000
Net::CIDR 0.09
Net::CIDR::Lite 0.15
Net::DNS 0.47
Perl 5.8.0
Pod::Parser 1.13
Sys::Hostname::Long 1.2

on one of my servers

Gary

------------------------ MailScanner list ------------------------
To unsubscribe, email jiscmail at jiscmail.ac.uk with the words:
'leave mailscanner' in the body of the email.
Before posting, read the MAQ (http://www.mailscanner.biz/maq/) and
the archives (http://www.jiscmail.ac.uk/lists/mailscanner.html).

Support MailScanner development - buy the book off the website!




More information about the MailScanner mailing list