Beefy Boxes and Bandwidth Generously Provided by pair Networks
We don't bite newbies here... much

Re^2: RFC - Module::Cooker

by boftx (Deacon)
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


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.

Replies are listed 'Best First'.
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/ # 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?

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://1065482]
and all is quiet...

How do I use this? | Other CB clients
Other Users?
Others exploiting the Monastery: (2)
As of 2018-05-20 19:56 GMT
Find Nodes?
    Voting Booth?