Beefy Boxes and Bandwidth Generously Provided by pair Networks
XP is just a number

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]
[marto]: only when I'm bored
[LanX]: we should certainly avoid Amsterdam! ! !
[marto]: kidding. The area in question isn't great. I'd no idea these facilities existed in that part of town.
LanX vile place ...
[LanX]: well, me was kidding!
[marto]: One of the main train stations is right across the road, so handy from that perspective, and there are some nice hotels in the area, but it's not great after dark, or sometimes during the day to be honest
[LanX]: not easy to find good and affordable venues ...
[marto]: hmm, there are several universities and colleges handy that I'd have thought would offer such services, given this is out of term time, I've no experience of paying for venues :)
[LanX]: OK ...
[LanX]: I have no idea how Mark scouted, giving that he lives in London ... but I think he mentioned his wife being Scottish

How do I use this? | Other CB clients
Other Users?
Others perusing the Monastery: (11)
As of 2017-12-14 15:48 GMT
Find Nodes?
    Voting Booth?
    What programming language do you hate the most?

    Results (396 votes). Check out past polls.