Beefy Boxes and Bandwidth Generously Provided by pair Networks
Come for the quick hacks, stay for the epiphanies.
 
PerlMonks  

Re^4: What do I use to release a module to CPAN for the first time?

by marto (Cardinal)
on Oct 11, 2020 at 18:32 UTC ( [id://11122709]=note: print w/replies, xml ) Need Help??


in reply to Re^3: What do I use to release a module to CPAN for the first time?
in thread What do I use to release a module to CPAN for the first time?

It is a build tool, which becomes a prerequisite when trying to fix a bug in code maintained by someone who uses it. I get it, if you are developing many cpan modules it makes sense, it makes your life easier. If you are just coming along and trying to fix a trivial problem/provide a trivial enhancement, the barrier for participation just jumped a few levels in terms of ease. For a long time one of the plugins (I can't remember which) frequently used by such developers was broken, so the long (as it was then, on a low powered machine I was using) installation time was all wasted, due to said bug. The plugin in question required patching manually at the time. From talking to other users it's a real turn off in terms of participation. I can see both sides of the coin here, but I'd never recommend this path for someone in Lady_Aleenas shoes.

  • Comment on Re^4: What do I use to release a module to CPAN for the first time?

Replies are listed 'Best First'.
Re^5: What do I use to release a module to CPAN for the first time?
by tobyink (Canon) on Oct 11, 2020 at 20:49 UTC

    It's pretty rare to need Dist::Zilla to provide a patch for someone else's distribution.

    If they've got version control, make a clone of it, make your changes to the files in lib/bin/whatever, use prove -l ./t to run the test suite, and if it passes, submit your changes.

    If no version control, untar the latest tarball from CPAN, and do the same.

    If you're not going to build a tarball of your fixed version, you probably won't need Dist::Zilla.

      I disagree.

      Many Dist::Zilla project only have a dist.int and no Makefile.PL, so you will need the whole bloody suite to get started anyway.

      However I applaud people using something to make their dist meet every standard and make their own lives easier to maintain and distribute their modules, IMHO Dist::Zilla is a (very) bad part of the toolchain to draw in fresh blood or make it easier for others (not using it) to submit changes.

      I have not seen a project that uses Dist::Zilla where I could get away without Dist::Zilla installed


      Enjoy, Have FUN! H.Merijn

        But to write a patch, test it, and submit it back to the maintainer, why would you need Makefile.PL?

        (I'm assuming a pure Perl distribution here; no XS.)

        Then I suppose you have not seen any of my projects, or any using Dist::Milla, or David Golden's bundle, etc. -Dan

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others making s'mores by the fire in the courtyard of the Monastery: (4)
As of 2024-04-19 22:14 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found