Yes, I have probably around 60+ modules that I had previously dl'd prior to the upgrade to Fedora. For example, I know I previously had (and still have) Geo::Weather installed, and CPAN confirms this:

cpan> install Geo::Weather
CPAN: Storable loaded ok
Going to read /root/.cpan/Metadata
  Database was generated on Tue, 18 Nov 2003 14:46:22 GMT
Geo::Weather is up to date.

So then I installed a *new* module Weather::Underground. Here is the relevant output from CPAN:

cpan> install Weather::Underground
Running install for module Weather::Underground
Running make for M/MN/MNAGUIB/Weather-Underground-2.12.tar.gz
CPAN: LWP::UserAgent loaded ok
Fetching with LWP:
[....much cpan output deleted here ...]
Running make install
Installing /usr/lib/perl5/site_perl/5.8.1/Weather/Underground.pm
Installing /usr/share/man/man3/Weather::Underground.3pm
Writing /usr/lib/perl5/site_perl/5.8.1/i386-linux-thread-multi/auto/Weather/Underground/.packlist
Appending installation info to /usr/lib/perl5/5.8.1/i386-linux-thread-multi/perllocal.pod
/usr/bin/make install -- OK


And then I re-ran the findmodules script -- notice that the modules added prior to Fedora are omitted, while the one that I added after upgrading to Fedora *do* show up:

[EMAIL PROTECTED] perlstuff]$ ./findmodules
Perl -- 5.8.1
Weather::Underground -- 2.12

So something related to Fedora is not allowing the script to find any modules that were added prior to Fedora being installed. This script not working might be better described as an annoyance, rather than a makes-me-mad kind of situation. But I sure would like to learn why it doesn't perform as expected.

Clint




Kevin Old wrote:
On Tue, 2003-11-18 at 21:55, Clint wrote:

I upgraded a RH9 machine to Fedora, and now the script I used to use for determing what CPAN modules are on my machine will not report anything but Perl. That is, I know I have many modules on the machine, but the script is not reporting them. I would appreciate any ideas about what I can change to fix things!

Here is the script (I found it elsewhere, and did not write it myself):

use ExtUtils::Installed;
my $instmod = ExtUtils::Installed->new();
foreach my $module ($instmod->modules()) {
my $version = $instmod->version($module) || "???";
       print "$module -- $version\n";
}


Here is the relevant output:


[EMAIL PROTECTED] perlstuff]$ ./findmodules
Perl -- 5.8.1


Clint,

Have you installed any other modules on your machine?  That's what the
output was on my Fedora Core before I installed a few modules from CPAN.

Other than that, the script runs just fine!

Hope this helps,
Kevin


-- Clint <[EMAIL PROTECTED]>


-- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]



Reply via email to