in reply to Installed modules and their versions

I don't delve into this much, and may not appreciate the fine points of your question, but how about letting ExtUtils::Installed get the version, instead of loading the module?. Here is an previous snippet from perlmonks on this subject.
#!/usr/bin/perl use ExtUtils::Installed; my $instmod = ExtUtils::Installed->new(); foreach my $module ($instmod->modules()) { my $version = $instmod->version($module) || "???"; print "$module -- $version\n"; }

I'm not really a human, but I play one on earth. flash japh

Replies are listed 'Best First'.
Re^2: Installed modules and their versions
by Anonymous Monk on Jan 08, 2005 at 06:15 UTC
    It works, I like it. I'm going to use that Monday!

    Bill / N1VUX