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
Stories, comments, journals, and other submissions on use Perl; are Copyright 1998-2006, their respective owners.
And the winner is ... (Score:2)
Part of the impetus of Module::Build is to ensure ExtUtils::MakeMaker dies a much needed death. Those who haven't had to do serious hacking on EMM often say that this is a waste of time. Those who have had to do serious hacking on EMM, particularly when they know their hack must support a plethora of systems they don't have access to (really, how many people have a VMS box handy?), absolutely don't want to touch EMM any more. Since much of EMM is trying to build a makefile which many different platforms and many different versions of make support (all, naturally, with subtle differences), how many people wanting EMM can say they are qualified to comment in this area? Trying to work out all of the hideous makefile issues is a nightmare and is a constant source of bugs. Further, adding new features to EMM is very difficult, but it tends to be much easier for MB. Thus, I wouldn't want to encourage people to say "I'm going to prefer the Makefile.PL over the Build.PL."
For more discussion, you can read Schwern's rant on the matter [perl.org] or a Perlmonks thread on the matter [perlmonks.org] (and one where Schwern loses his temper and uses very work unfriendly language. Frankly, I understand where he's coming from).
Reply to This
Re: (Score:1)
My real 0XBEEF with M::B and M::I probably stems from three things: 1) the seemingly endless times of cpanp/cpan fuckering up automated testing and deps, and 2) Apache-Test under M::B, which has it's own set of issues and 3) Catalyst installs post EU::MM. Yes, these are not M::B/M::I's problems, but when I can stick to EU::MM and avoid those issues, well, then there's still no reason to declare EU::MM dead for all people.
Since I'd r
Re: (Score:2)
I'm still not convinced M::B is worth it (and yes, I've read the rants) for end users - neither module authors nor those installing modules. Seems M::B is worth it for Schwern, and maybe the select few others who wanted
Re: (Score:1)
Personally, I use M::B, and just throw in
create_makefile_pl => 'traditional'in theBuild.PL. I use only plain-jane features of M::B, so the modules I upload will work for any user, and come the day that M::B becomes the new officially sanctioned Way To Do It, I can just flip a switch and get rid of theMakefile.PL.Best of all worlds, if you ask me.
Re: (Score:1)
I've hacked on EUMM (to add tests) and I've written cross-platform Makefiles. Maybe that puts me in a narrow group of people and makes my opinion suspect. I don't know; I like to think it gives me specific reasons to hate EUMM.
If my build process has to do anything other than copying a pure-Perl module into blib/lib, I would rather do it in Perl than figure out how to write Perl to write cross-platform, cross-shell Makefiles. It's not that I can't figure out how to make it work, it's that every time I
Re: (Score:2)
Re: (Score:1)
Let me be very concrete then. When writing the build process for
Embed::Parrot, I wanted to useparrotto compile a PIR file into PBC. I want to do this as part of the build process before the test process, so I overrodeACTION_buildin Build.PL. I assume, from writing other makefiles, that adding to thetesttarget is the way to go with EUMM.How do I do this with EUMM? I've skimmed the manpage backwards and forwards and I don't see an easy way to do it without touching the Makefile.
Re: (Score:2)
I'm sure all of that is true, but it's orthogonal to my point, which is that the installer doesn't know if the module author is an enlightened Module::Build user or a dinosaur who only maintains the EUMM system for his module and lets the other route decay. As an installer, I could care less which system is used as long as it just works. :)
J. David works really hard, has a passion for writing good software, and knows many of the world's best Perl programmers
Re: (Score:2)
My response is confusing because when I said "installer," I meant, "installing admin," not "installing program."
J. David works really hard, has a passion for writing good software, and knows many of the world's best Perl programmers