David Golden wrote: > On Dec 12, 2007 8:56 PM, Adam Kennedy <[EMAIL PROTECTED]> wrote: >> The problem is NOT that Module::Build can't install itself. >> >> The problem is that nobody that USES Module::Build can declare a dependency >> on it. > > Right. That problem. You lost me in the example. > > configure_requires is one step. > > For a while, I've wished that some form of compatibility Makefile.PL > could just use a bundled (possibly stripped down) version of > Module::Build. Module::Install proved that it can work -- albeit with > far, far more magic than I like in a tool.
You can do it, it's not too hard. MakeMaker ships with some of it's dependencies. Stripping out the POD and comments will probably save you about 30-50% in size. The critical thing is to make sure you use an existing installed module of an equal or higher version. That's where Module::Install falls down. But I think it's overkill for anything but the most important modules. It's an O(1) problem. That is, you don't have to repeat it for every single module. Once you've installed Module::Build or upgraded your CPAN shell once you're done. -- But there's no sense crying over every mistake. You just keep on trying till you run out of cake. -- Jonathan Coulton, "Still Alive"