Beefy Boxes and Bandwidth Generously Provided by pair Networks
Clear questions and runnable code
get the best and fastest answer
 
PerlMonks  

Re^3: How to create installable modules ?

by jkeenan1 (Deacon)
on Jan 12, 2006 at 03:56 UTC ( [id://522612]=note: print w/replies, xml ) Need Help??


in reply to Re^2: How to create installable modules ?
in thread How to create installable modules ?

Perhaps we should be suggesting resources that detail the use of the new methods that do not rely on ExtUtils::MakeMaker? At least that is the feeling I get from reading slides from Michael Schwern's presentation "MakeMaker is Doomed". In this talk he recommends Module::Build.
MakeMaker cannot really begin to fade away until Module::Build is part of the Perl core distribution. I've heard talk that that will happen with 5.10, but, AFAICT, it hasn't happened yet. And the fading won't get really serious until Module::Build is so well established that established module-authors (myself included) feel compelled to start including Build.PL scripts in their CPAN distros along with Makefile.PL. Then, in a later version, we can begin to imagine not including MakeMaker in the core distribution. That's a long ways off, IMH.

Having peered into MakeMaker's innards, I can well appreciate what Schwern goes through in attempting to maintain it.

All that being said, what I would welcome (and what you are welcome to volunteer for) is a supplement to cog's tutorial which provides a point-to-point guide for building a Build.PL file to accomplish what a Makefile.PL does at least for a pure Perl distribution.

jimk

  • Comment on Re^3: How to create installable modules ?

Replies are listed 'Best First'.
Re^4: How to create installable modules ?
by blm (Hermit) on Jan 12, 2006 at 04:59 UTC

    My recollection is that the first module that I tried to install that needed Module::Build actually installed it as a prereq. And even then you can write a Makefile.PL that is just a wrapper around Build.PL for those that can't or won't be able to use the new build stuff. Is this inaccurate?

    Isn't this person that we are trying to help build a module distribution not an established module author anyway?

      You can't automatically install it as a prerequisite unless you know how to install it. It's a bit of a Catch-22: you can't process a Build.PL until you have Module::Build, and you can't install Module::Build (for the first time, at least) with a Build.PL. :)

      --
      brian d foy <brian@stonehenge.com>
      Subscribe to The Perl Review
        Thanks for clarifying that for me, brian! :-)

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others learning in the Monastery: (5)
As of 2024-04-19 23:22 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found