in reply to Re: how could use inc::Module::Install ever work? and other M::I questions
in thread how could use inc::Module::Install ever work? and other M::I questions
It wasn't at all clear to me from the module documentation and it still wasn't completely clear from the responses. So, just to stress the points and clarify that they aren't contradicting...
Like I said, I couldn't find clarification reading the module documentation (Module::Install). But I looked at Makefile.PL to try to verify that inc/Module/Install.pm is supposed to get installed when you install Module::Install. I found this encouragement in a comment:
It causes inc::Module::Install to load from the (unique to this distribution) file ./lib/inc/Module/Install.pm instead of the system inc::Module::Install or the bundled /inc/Module/Install.pm
So, "use inc::Module::Install;" works when a new module author runs "perl Makefile.PL" because they installed Module::Install which installed inc/Module/Install.pm along with Module/Install.pm. And "use inc::Module::Install;" works when some random person downloads the new module because inc/Module/Install.pm gets included in the new module's tar ball (or other archive format).
To make it even clearer, there are the chronological steps:
That explanation should be more than sufficiently exhaustive. :)
So, it seems that metaperl didn't install Module::Install correctly.
- tye
|
|---|