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


I want to generate 'templates' for a new project. I'm interested in using Module::Build instead of ExtUtils::MakeMaker.

Is there a tool like h2xs (with -X switch) which automates this stub/template creation ? or perhaps a suggested proceedure?

Title edit by tye

  • Comment on Is there a tool like h2xs which works with Module::Build ?

Replies are listed 'Best First'.
Re: Module::Build
by valdez (Monsignor) on Apr 13, 2003 at 10:39 UTC
      The stuff in Matt's journal is fine for an expert to remember, or recreate from first principles.

      But we really need a tool to do that, so I can tell beginners "this is how to make a module, really quickly".

      We sorta have one in the current magical "h2xs -XAn mod::ule::name" phrase that I teach people. But if that's flawed, let's fix that. Not just sidestep it.

      -- Randal L. Schwartz, Perl hacker
      Be sure to read my standard disclaimer if this is a reply.

        A while back, I sent Geoff Avery a patch to add support for Module::Build to ExtUtils::ModuleMaker, but I haven't heard back from him.