coppit has asked for the wisdom of the Perl Monks concerning the following question:
I've created a Module::Install extension called Module::Install::CustomInstallationPath. This module requires the non-standard module File::HomeDir.
Now let's say that in module FOO I use my M::I::CustomInstallationPath extension. Module::Install correctly determines that I use the extension and puts the necessary files in inc/. However, it doesn't put the files for the dependent File::HomeDir module in inc/ as well.
Shouldn't Module::Install recursively scan extensions and include any non-standard modules into the inc/ directory?
This seems like a bug to me. I've emailed the authors and am waiting for a response. In the meantime, is there a way to figure out which Module::Install extensions are needed by the FOO module, so I can run include_deps on them? Unfortunately it looks like Module::Install deletes the loaded module from %INC.
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: How to get Module::Install to follow dependencies in extensions?
by PodMaster (Abbot) on Sep 16, 2004 at 06:09 UTC | |
by coppit (Beadle) on Sep 16, 2004 at 13:04 UTC | |