Skip to content

Instantly share code, notes, and snippets.

@smeghead
Created May 20, 2011 09:46
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save smeghead/982645 to your computer and use it in GitHub Desktop.
Save smeghead/982645 to your computer and use it in GitHub Desktop.
search missing modules script.
#!/usr/bin/perl
use strict;
use warnings;
use utf8;
print "#-- missing modules list --\n";
while (<DATA>) {
eval("use $_;");
if ($@) {
print "cpanm $_";
}
}
print "#--------------------------\n";
__DATA__
Archive::Zip
Cache::Memcached::Fast
Carp
Catalyst::Exception
Catalyst::Log::Log4perl
Catalyst::Runtime
Catalyst::ScriptRunner
....(snip)....
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment