On Tue Dec 16 10:31:41 2008, APOCAL wrote:
Show quoted text> Hello,
>
> I am the author of the Bundle::POE::All module. It is pretty unique
> because it uses CPANPLUS::Backend to update it's All.pm list of
> dependencies during Makefile.PL execution. This is pretty magical, but
> it worked for me in the past.
>
> Some users reported to me that it failed under CPANPLUS and I set out
> to investigate. What happens when you install this module is:
>
> Installing Bundle::POE::All (1.03)
> [ERROR] Bundle 'Bundle::POE::All' does not specify any modules to install
>
> I wondered why it happened, because it works perfectly under CPAN.pm!
> Upon investigating this, BinGOs pointed me into the right direction. It
> seems that CPANPLUS.pm doesn't even execute the Makefile.PL and goes
> directly to the All.pm to parse the deps.
>
> This is an incompatible change from CPAN.pm to CPANPLUS.pm! I am
> wondering if this is a deliberate decision or a bug? Hopefully you can
> track this down and give me some guidance on how I can make it
> compatible with CPANPLUS, thanks!
I can not get this to work with CPAN.pm either, running the latest
version from CPAN:
<<<<<<<<<<<<<<
[kane@rimmer ~]$ perlc -MCPAN -eshell
cpan shell -- CPAN exploration and modules installation (v1.9301)
ReadLine support enabled
cpan[1]> test Bundle::POE::All
CPAN: Storable loaded ok (v2.18)
Going to read /Users/kane/.cpan/Metadata
Database was generated on Wed, 17 Dec 2008 07:26:57 GMT
The bundle file "/Users/kane/.cpan/Bundle/POE/All.pm" may be a broken
bundlefile. It seems not to contain any bundle definition.
Please check the file and if it is bogus, please delete it.
Sorry for the inconvenience.
The bundle file "/Users/kane/.cpan/Bundle/POE/All.pm" may be a broken
bundlefile. It seems not to contain any bundle definition.
Please check the file and if it is bogus, please delete it.
Sorry for the inconvenience.
The bundle file "/Users/kane/.cpan/Bundle/POE/All.pm" may be a broken
bundlefile. It seems not to contain any bundle definition.
Please check the file and if it is bogus, please delete it.
Sorry for the inconvenience.
The bundle file "/Users/kane/.cpan/Bundle/POE/All.pm" may be a broken
bundlefile. It seems not to contain any bundle definition.
Please check the file and if it is bogus, please delete it.
Sorry for the inconvenience.
The bundle file "/Users/kane/.cpan/Bundle/POE/All.pm" may be a broken
bundlefile. It seems not to contain any bundle definition.
Please check the file and if it is bogus, please delete it.
Sorry for the inconvenience.
Show quoted text>>>>>>>>>>>>>>>>>>
CPANPLUS does run the Makefile.PL etc, but only *after* the bundle has
been inspected for prerequisites, which is too late in your case.
And it seems neither CPAN.pm nor CPANPLUS has a graceful way of
injecting running of Makefile.PL, then inspect the bundle, and then
return.
Perhaps, what you are looking for is the 'Task::*' modules, which are
not special cased like bundles and allow you to run arbitrary code.
Task::Weaken is probably a good example:
http://search.cpan.org/src/ADAMK/Task-Weaken-1.02/Makefile.PL
Let me know if I missed anything,