jfroebe has asked for the wisdom of the Perl Monks concerning the following question:

hello again :)

Does anyone have experience of creating modules for CPAN using ActiveState Perl? I'm trying to decide between ExtUtils::MakeMaker and Module::Build.

sorry for the shortness of the question - my brain is caffeine deficient at the moment.

thanks

Jason L. Froebe

Help find a cure for breast cancer! Net proceeds benefit the Susan G. Komen Breast Cancer Foundation and the National Philanthropic Trust. Help by donating - I'm walking 60 miles in 3 days in August 2007. (The day I return from TechWave is the first day of the Walk).

Blog, Tech Blog

  • Comment on Making a CPAN module with ActiveState Perl

Replies are listed 'Best First'.
Re: Making a CPAN module with ActiveState Perl
by chromatic (Archbishop) on Apr 16, 2007 at 21:58 UTC

    They're roughly equivalent. If you're doing very simple things and don't need to customize any part of the configuration, build, or installation process, either one would work. In that case, ExtUtils::MakeMaker is a very reasonable choice, because it's in the core on all modern versions of Perl.

    If you need to customize something, Module::Build is often a more reasonable choice, because you don't have to learn the evil of how MakeMaker somehow works.

        Does that still hold true for the windows version?

        Yes, in general terms, the choice between M::B and EU::MM is not influenced by the operating system - though I guess there could well be niggles with both M::B and EU::MM that are platform dependent.

        Cheers,
        Rob
Re: Making a CPAN module with ActiveState Perl
by f00li5h (Chaplain) on Apr 17, 2007 at 03:03 UTC

    You may also want to have a look at Module::Starter which puts all the perlpod, Test::More and README/Changes together with a ExtUtils::MakeMaker Makefile.PL or a Module::Build Build.PL all through one handly little command on the commandline

    The example from the docs is:

    module-starter --module=Foo::Bar,Foo::Bat \ --author="Andy Lester" --email=andy@petdance.co
    and there you have it, your own dist, all ready to go.

    @_=qw; ask f00li5h to appear and remain for a moment of pretend better than a lifetime;;s;;@_[map hex,split'',B204316D8C2A4516DE];;y/05/os/&print;