| 
  • If you are citizen of an European Union member nation, you may not use this service unless you are at least 16 years old.

  • You already know Dokkio is an AI-powered assistant to organize & manage your digital files & messages. Very soon, Dokkio will support Outlook as well as One Drive. Check it out today!

View
 

InstalledModulesAndTheirVersions

This version was saved 18 years, 8 months ago View current version     Page history
Saved by PBworks
on July 22, 2005 at 11:48:18 pm
 

Use Perl to discover all the installed modules and their versions:

 

use File::Find;
use ExtUtils::MakeMaker;

find(
  sub {
    next unless /.pm$/i;
    my $mod = $File::Find::name;
    $mod =~ s/^$File::Find::topdir/?//;
    $mod =~ s/.pm$//i;
    $mod=~s!/!::!g;
    my $ver=MM->parse_version($File::Find::name);
    print "$mod ($ver)n"
  },
  @INC
)

 

-Attribution

Comments (0)

You don't have permission to comment on this page.