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.Ok, so:
<install HTML::Parser>
Terminal CPAN> ! print Dumper $cpan->module_tree->{'HTML::Parser'}
$VAR1 = bless( {
'_id' => '1',
'version' => '3.27',
'status' => bless( {
'make' => {
'prereq' => {
'HTML::Tagset' => '3'
},
'makefile' => 1,
'test' => 1,
'make' => 1,
'overall' => 1,
'dir' => '/home/alian/.cpanplus/5.8.0/build/HTML-Parser-3.27'
},
'signature' => 1,
'install' => '1',
'extract' => '/home/alian/.cpanplus/5.8.0/build/HTML-Parser-3.27',
'md5' => 1,
'fetch' => '/home/alian/.cpanplus/authors/id/G/GA/GAAS/HTML-Parser-3.27.tar.gz'
}, 'CPANPLUS::Internals::Module::Status' ),
'dslip' => 'RmcO',
'author' => 'GAAS',
'path' => 'G/GA/GAAS',
'description' => 'Basic HTML Parser',
'package' => 'HTML-Parser-3.27.tar.gz',
'comment' => undef,
'module' => 'HTML::Parser'
}, 'CPANPLUS::Internals::Module' );
<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' => {},
'makefile' => 1,
'make' => 1,
'dir' => '/home/alian/.cpanplus/5.8.0/build/POE-Component-IRC-Object-0.02'
},
'signature' => 1,
'install' => '',
'extract' => '/home/alian/.cpanplus/5.8.0/build/POE-Component-IRC-Object-0.02',
'md5' => 1,
'fetch' => '/home/alian/.cpanplus/authors/id/M/MS/MSERGEANT/POE-Component-IRC-Object-0.02.tar.gz'
}, 'CPANPLUS::Internals::Module::Status' ),
'dslip' => ' ',
'author' => 'MSERGEANT',
'path' => 'M/MS/MSERGEANT',
'description' => undef,
'package' => 'POE-Component-IRC-Object-0.02.tar.gz',
'comment' => undef,
'module' => 'POE::Component::IRC::Object'
}, 'CPANPLUS::Internals::Module' );
So for this las module, it was always empty.
also, you have prereqs set to automatically follow? otherwise, it'll probably not work indeed...
Of course I automatically follow links. I use 0.042.
>
Yep I run this Makefile.PL one time or two ;-) (And I know too this not the default option, but "ask" in 0.046)it's an option you know ;)
