in reply to automated install of modules from local directory

use Module::CPANTS;
Your other alternative is to do some sourcediving into CPAN/CPANPLUS to see what they do (one thing they do is watch STDERR for specifically formatted error messages).

You could also check to see if META.yml exists, ie

use YAML;
use LWP::Simple;
my $yaml = get 'http://search.cpan.org/src/LBROCARD/Module-CPANTS-0.20030725/META.yml';
...
update: Module::ExtractUse

MJD says "you can't just make shit up and expect the computer to know what you mean, retardo!"
I run a Win32 PPM repository for perl 5.6.x and 5.8.x -- I take requests (README).
** The third rule of perl club is a statement of fact: pod is sexy.

  • Comment on Re: automated install of modules from local directory