Beefy Boxes and Bandwidth Generously Provided by pair Networks
Keep It Simple, Stupid
 
PerlMonks  

Re^2: RFC - Module::Cooker

by boftx (Chaplain)
on Dec 03, 2013 at 19:32 UTC ( #1065482=note: print w/ replies, xml ) Need Help??


in reply to Re: RFC - Module::Cooker
in thread RFC - Module::Cooker - UPDATE

Thanks!

When it comes right down to it, there is really only one file that is usually easier to have a tool create for you: Makefile.PL

Once that is present (containing the proper commands for ExtUtils::MakeMaker) the process boils down to this:

perl Makefile.PL make manifest make disttest make dist make distclean

At that point you should have a tarball ready for upload to PAUSE.

What the various tools do (including Module::Cooker) is create a full skeleton structure that just happens to include Makefile.PL. Based on what you (and others) have said, I should add a means to only add any missing files such as Makefile.PL to an existing directory structure.

It helps to remember that the primary goal is to drain the swamp even when you are hip-deep in alligators.


Comment on Re^2: RFC - Module::Cooker
Select or Download Code
Re^3: RFC - Module::Cooker
by tobyink (Abbot) on Dec 03, 2013 at 19:41 UTC

    This also assumes that your directory layout is like a typical CPAN dist. Otherwise you may need to make tweaks to Makefile.PL so it can find your stuff. (Or better yet, rearrange your files.)

    Makefile.PL # in the project root directory lib/Foo/Bar.pm # modules named like this script/foobar # scripts like this bin/foobaz # ... or this t/foo-bar.t # tests like this xt/foo-baz.t # extra tests like this
    use Moops; class Cow :rw { has name => (default => 'Ermintrude') }; say Cow->new->name

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others drinking their drinks and smoking their pipes about the Monastery: (5)
As of 2014-08-22 01:14 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    The best computer themed movie is:











    Results (145 votes), past polls