kvale has asked for the wisdom of the Perl Monks concerning the following question:
which results in the useless output#!/usr/bin/perl -w use strict; use ExtUtils::Installed; my ($inst) = ExtUtils::Installed->new(); my (@modules) = $inst->modules(); foreach my $mod (@modules) { print "$_\n"; }
I checked out the ExtUtils::Installed manpage and the program seems consistent with the recommended usage.The modules list is supposed to be generated from the set of .packlist, so there is a parsing step missing. What am I (and possibly the faq) doing wrong? This is a perl 5.8.0, Mandrake 9.1 system..packlist .packlist .packlist ... .packlist .packlist .packlist
-Mark
|
---|
Replies are listed 'Best First'. | |
---|---|
Re: Listing all installed modules
by AcidHawk (Vicar) on Feb 10, 2004 at 20:13 UTC | |
Re: Listing all installed modules
by scottj (Monk) on Feb 10, 2004 at 21:23 UTC | |
by Anonymous Monk on Feb 11, 2004 at 04:45 UTC | |
Re: Listing all installed modules
by duff (Parson) on Feb 10, 2004 at 22:51 UTC | |
Re: Listing all installed modules
by bassplayer (Monsignor) on Feb 10, 2004 at 20:16 UTC |