Beefy Boxes and Bandwidth Generously Provided by pair Networks
"be consistent"
 
PerlMonks  

Re^7: Module::Build and the PPM

by demerphq (Chancellor)
on May 19, 2004 at 18:25 UTC ( #354711=note: print w/replies, xml ) Need Help??


in reply to Re: Re: Re: Re: Re: Re: Module::Build and the PPM
in thread Module::Build and the PPM

I can't say for sure, but I'm guessing because Ken wants people to think about how they want to do this. The passthrough option seems to work reasonably well, but it is doing pretty funky stuff under the hood. The other methods that use a Makefile.PL also have their drawbacks, so it's really up to each developer to decide how they want to handle this.

As corion said, the problem here is that a module like M::B shouldnt make each developer decide how to handle this. It should simply default to the solution that breaks the least things and provide an opt out for power users. Breaking CPAN by default is just plain wrong, wrong, wrong.

Somebody else has created a Makefile.PL => Build.PL converter tat works for simple Makefile.PL scripts.

So wait, if I choose to convert to using Module::Build not only do I inconvenience all of my users who dont have Module::Build, I also lock out the ones who can't get it to work, and as an added bonus get to spend hours converting non trivial Makefile.Pl's over to Build.Pl framework? Gee sign me up.


---
demerphq

    First they ignore you, then they laugh at you, then they fight you, then you win.
    -- Gandhi


Replies are listed 'Best First'.
Re: Re^7: Module::Build and the PPM
by autarch (Hermit) on May 19, 2004 at 18:40 UTC

    So wait, if I choose to convert to using Module::Build not only do I inconvenience all of my users who dont have Module::Build, I also lock out the ones who can't get it to work, and as an added bonus get to spend hours converting non trivial Makefile.Pl's over to Build.Pl framework? Gee sign me up.

    So don't freaking use it. Sheesh, no one has ever said "run out and convert all your existing modules, especially the ones that have heavily customized Makefile.PL files".

    OTOH, if you're writing a new module, or looking into adding custom bits to a Makefile.PL for an existing module, then Module::Build is probably worth looking at, as creating a customized build/install process with it is much, much easier than with EU::MM. I've done both, so I'm in a good position to know.

      Sheesh, no one has ever said "run out and convert all your existing modules, especially the ones that have heavily customized Makefile.PL files".

      No? You mean all those mails ive seen saying EU::MM shouldnt be modified except for maintenance and that any new development efforts should occur in M::B, and that all those posts ive seen saying EU::MM and CPAN will be replaced by M::B and CPANPLUS by 5.10 dont count?

      It seems to me that lots of people have been intimating that M::B should replace EU::MM Real Soon Now™ so when 5.10 comes out presumably EU::MM will be deprecated, and by 5.12 itll be removed. So by that time ill have to support both people who wont or cant use M::B and those who dont have EU::MM.

      So as long as the intention is to ultimately replace EU::MM with M::B then I am essentially forced to use it. And given the issues raised, the problems of backward compat etc, im afraid that im not real confident in the Brave New world that the M::B folks seem to want to bring to me.

      Really, save your time here. Go talk to Ken. Tell him that the Build.pl _sucks_ and that a lot of people hate it and that its very likely that policy of breaking CPAN is having a backlash against the whole effort. Talk some sense into the M::B crew and I promise youll see a lot of folks who have negative feelings about it turn in to its biggest champions.


      ---
      demerphq

        First they ignore you, then they laugh at you, then they fight you, then you win.
        -- Gandhi


        No? You mean all those mails ive seen saying EU::MM shouldnt be modified except for maintenance and that any new development efforts should occur in M::B, and that all those posts ive seen saying EU::MM and CPAN will be replaced by M::B and CPANPLUS by 5.10 dont count?

        Heh, that's funny. The mails saying EU::MM shouldn't be modified except for maintenance have mostly come from Michael Schwern, who is the maintainer for EU::MM. He says this based on his experience actually maintaining the EU::MM code. See his presentation MakeMaker is DOOMED for details.

        Of course, nothing stops you from taking over new development of EU::MM. I'm sure Michael would be willing to discuss it with you.

        It seems to me that lots of people have been intimating that M::B should replace EU::MM Real Soon Now™ so when 5.10 comes out presumably EU::MM will be deprecated, and by 5.12 itll be removed.

        I think "lots of people" is a gross overstatement. In fact, I don't think Ken has ever said it will happen "real soon now". The few people I've seen discussing putting M::B in 5.10 were Hugo van der Sanden, the 5.10 pumpking, and maybe a few other people on the p5p list. I know that Ken hasn't been pushing this. His attitude has always been that it can go in the core when a pumpking thinks it's ready.

        As to removing EU::MM entirely, I really don't think anyone has ever proposed that. There are tons of older modules on CPAN that aren't going to be updated with a Build.PL file anytime soon, and those should still be installable with 5.12.

        I really wonder who you've been talking to, because I know you haven't gotten any of these strange ideas from Ken, me, or other people who've contributed to M::B.

        So as long as the intention is to ultimately replace EU::MM with M::B then I am essentially forced to use it.

        The intention is to provide a better way of installing modules, and to replace EU::MM in the sense that people willingly choose M::B. EU::MM is not going away, and will never be removed from the core, even if it is not actively developed with new features.

        Really, save your time here. Go talk to Ken. Tell him that the Build.pl _sucks_ and that a lot of people hate it and that its very likely that policy of breaking CPAN is having a backlash against the whole effort.

        You seem to have some really, really strange unfounded ideas about this stuff. Maybe I should tell Ken about that, but if you have a real complaint, I encourage you to tell him yourself.

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://354711]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others contemplating the Monastery: (5)
As of 2019-09-18 17:55 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    The room is dark, and your next move is ...












    Results (236 votes). Check out past polls.

    Notices?