alian wrote:
maybe i wasnt clear enough.. you first have to try installing the module.. it will then (after doing 'perl Makefile.PL') scan the Makefile for prereqs and store them in the module object.

<install POE-Component-IRC-Objec>
Terminal CPAN> ! print Dumper $cpan->module_tree->{'POE::Component::IRC::Object'}
$VAR1 = bless( {
'_id' => '1',
'version' => '0.02',
'status' => bless( {
'make' => {
'prereq' => {},

So for this las module, it was always empty.
hmm, that's odd.. if you dont mind, check hte following code to see if it does the right thing.. in CPANPLUS::Internals::Make, sub _find_prereq_makemaker

this is the part of the code that does the actual looking up:
### find prereqs
my ($p) = m{^[\#]
\s+PREREQ_PM\s+=>\s+(.+)
}x;

you might want to validate that it does what it's supposed to (and double check that the Makefile actually holds the prereqs listed in Makefile.PL -- else it's a bug in EU::MM)

-jos

--
How do I prove I am not crazy to people who are?

CPANPLUS..............http://cpanplus.sf.net
DWIM!.................http://dwim.org



Reply via email to