Your older vs newer tags are wrong — there are at least three well used installers — and you surely use them to attempt convey false impressions of unfitness. Don't do that.
The older build process expects you to put everything in the project root. This is hardcoded into the software and cannot be changed.
Nonsense. MM doesn't care one bit. It has no expectations at all in this area.
(Upd: By default, it would install .pm found in the room directory. One could say it expects you not to put test libraries there, the opposite of what you said. )
There is a third option suggested in the cb last night: place a use lib 'inc'
Just like you would have to do with any other script that wants to use uninstalled modules, the script needs to tell Perl where to find the modules.
Your syntax is wrong, though. It makes assumption about the current directory. Running the test from the directory in which its located would fail.
I don't know if the people testing my CPAN software are in any way representative, but only 3% of testers were even trying to run the older installer. 97% were using Module::Build.
That's completely false. I imagine that 100% of testers try to use Makefile.PL, not 3%. They just might not try it first.
(Upd: Furthermore, that shouldn't be taken to mean Build.PL is preferred. It makes more sense to try Build.PL first because users of Build.PL often provide a Makefile.PL for compatibility. )
Posts are HTML formatted. Put <p> </p> tags around your paragraphs. Put <code> </code> tags around your code and data!
Titles consisting of a single word are discouraged, and in most cases are disallowed outright.
Read Where should I post X? if you're not absolutely sure you're posting in the right place.
Please read these before you post! —
Posts may use any of the Perl Monks Approved HTML tags:
You may need to use entities for some characters, as follows. (Exception: Within code tags, you can put the characters literally.)
- a, abbr, b, big, blockquote, br, caption, center, col, colgroup, dd, del, div, dl, dt, em, font, h1, h2, h3, h4, h5, h6, hr, i, ins, li, ol, p, pre, readmore, small, span, spoiler, strike, strong, sub, sup, table, tbody, td, tfoot, th, thead, tr, tt, u, ul, wbr
Link using PerlMonks shortcuts! What shortcuts can I use for linking?
See Writeup Formatting Tips and other pages linked from there for more info.
| & || & |
| < || < |
| > || > |
| [ || [ |
| ] || ] ||