Doesn't that still need some @INC manipulation to work?
Perl 6 - links to (nearly) everything that is Perl 6.
| [reply] |
By default, Perl includes "." in @INC, so no.
| [reply] |
(perl Makefile.PL && make dist) will create inc/Module/Install.pm and include it in the tarball.
two responses:
- perl Makefile.PL failed. That what I stated in the original post of this thread. I dont see how a use for something in a directory which doesnt exist could work.
- should my Makefile.PL look any different?
| [reply] [d/l] |
I thought you meant from the installer's perspective, not the author's. The author needs to install Module-Install which includes inc::Module::Install.
When the author runs perl Makefile.PL, it will use the system's inc::Module::Install, and it will copy inc/Module/Install.pm locally. The local copy will be included in the distribution when the author runs make dist.
This differs from ExtUtils::MakeMaker where both the author and the installer need to have ExtUtils::MakeMaker installed.
| [reply] [d/l] [select] |