Beefy Boxes and Bandwidth Generously Provided by pair Networks
There's more than one way to do things
 
PerlMonks  

Module Installation Verifier

by Limbic~Region (Chancellor)
on Mar 19, 2004 at 18:42 UTC ( #338107=snippet: print w/ replies, xml ) Need Help??

Description: This little snippet allows you to verify that all the modules that the .packlist files say are installed on your system are indeed installed properly. If you need to remove some modules so that they can properly be re-installed, the example in ExtUtils::Packlist shows how to do that
#!/usr/bin/perl
use strict;
use warnings;
use ExtUtils::Installed;

my $packlist = ExtUtils::Installed->new;

for my $module ( $packlist->modules ) {
    my @missing = $packlist->validate( $module );
    if ( @missing ) {
        print "$module is b0rked - missing file(s)\n";
        print "\t$_\n" for @missing;
    }
}
Comment on Module Installation Verifier
Download Code

Back to Snippets Section

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: snippet [id://338107]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others examining the Monastery: (7)
As of 2014-12-21 17:46 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    Is guessing a good strategy for surviving in the IT business?





    Results (106 votes), past polls