Beefy Boxes and Bandwidth Generously Provided by pair Networks
There's more than one way to do things
 
PerlMonks  

Re: RFC: How to Release Modules on CPAN in 2011

by Anonymous Monk
on Dec 29, 2010 at 00:19 UTC ( #879544=note: print w/ replies, xml ) Need Help??


in reply to RFC: How to Release Modules on CPAN in 2011

Thanks for this nice and quite thorough guide. I like the writing style. But perhaps the document is more aptly titled "How to Release Modules With Module::Build on CPAN in 2011". There are other ways to build CPAN distribution, e.g. Dist::Zilla. It has allowed me to be almost completely totally clueless about Makefile.PL and Build.PL yet able to release dists to CPAN. I believe it has similarly lowered the entry barrier for other CPAN developers.

Btw, I have a very stupid question. I understand the need of Perl script ./Makefile.PL generating another non-Perl script, but why does Build.PL need to generate another *Perl* script? Couldn't the original Perl script do everything in the first place (i.e. perl Build.PL, perl Build.PL test, and so on).


Comment on Re: RFC: How to Release Modules on CPAN in 2011
Replies are listed 'Best First'.
Re^2: RFC: How to Release Modules on CPAN in 2011
by Anonymous Monk on Dec 29, 2010 at 02:28 UTC
    Couldn't the original Perl script do everything in the first place (i.e. perl Build.PL, perl Build.PL test, and so on).

    You should ask on Module::Build dev list... but there is no good answer.

    Originally it was for the same reason you generate Makefiles, so you can copy/rm... files you used to generate the Makefile, without them being locked/in-use.... but at some point Module::Build devs forgot that.

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others lurking in the Monastery: (8)
As of 2015-07-31 01:19 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    The top three priorities of my open tasks are (in descending order of likelihood to be worked on) ...









    Results (274 votes), past polls