Slash Boxes
NOTE: use Perl; is on undef hiatus. You can read content, but you can't post it. More info will be forthcoming forthcomingly.

All the Perl that's Practical to Extract and Report

use Perl Log In

Log In

[ Create a new account ]

Journal of jjore (6662)

Wednesday September 27, 2006
10:18 PM

Module::Install gives me gas

[ #31145 ]

There are two things ExtUtils::MakeMaker does that Module::Install doesn't do or tries to get "wrong." I wanted to have a WriteTests.PL file run just like EU::MM would do automatically. The "work around" is putting a system $^X, 'WriteTests.PL' into the Makefile.PL. Oh well. There's no equivalent to EU::MM's PL_FILES feature. I don't know that I really cared about that though.

WriteTests.PL generates a bunch of templated tests in t/ but M::I's generated Makefile won't use them because unlike EU::MM it doesn't just run everything it the t/ directory: it runs only those t/*.t files that exist prior to &WriteAll.

Oh well. This is easy to work around, just kind of annoying.

The Fine Print: The following comments are owned by whoever posted them. We are not responsible for them in any way.
More | Login | Reply
Loading... please wait.
  • ... it's a damned good thing that you can get commit to go fix those problems isn't it.

    The pl_files(...) command sounds relatively easy to implement too.

    In fact, I'm surprised it doesn't already work, since if you use a Module::Install Makefile.PL it uses ExtUtils::MakeMaker behind the scenes.

    At the very least it should be fairly easy to add a custom key (i.e. PL_FILES) to what gets passed to ExtUtils::MakeMaker... there's probably a command in there already to do that.

    Adam K