Beefy Boxes and Bandwidth Generously Provided by pair Networks
good chemistry is complicated,
and a little bit messy -LW
 
PerlMonks  

Re: Releasing a CPAN module using Dist::Zilla & perlbrew

by perlfan (Parson)
on Dec 29, 2021 at 21:51 UTC ( [id://11140023]=note: print w/replies, xml ) Need Help??


in reply to Releasing a CPAN module using Dist::Zilla & perlbrew

I think you're doing it wrong, dzil build creates the "distribution" directory you then cd into the created directory. That's where you run perl ./Makefile.PL that's generated (which I do sometimes for testing outside of dzil test). If you're coming along with your own Build.PL or Makefile.PL you're going to need to do hoop jumping, but it's possible to use these. Best bet is to start with a new module for practice, then slowly port your existing module over to use Dist::Zilla. update: your install instructions in the GH repo use dzil to install the module - no this is not the correct way to use this tool. It's meant as a developer only tool and never a prereq for actually installing the module. This would be insane, Dist::Zilla is a huge honkin' mess and if that's required to actually use your module, you're not gonna have anyone using it at all. correction: sorry misread, but seems like you're doing something that's out of order. Sometimes I forget I am in the distro directory that's been created by dzil and I get all kinds of weird errors. Make sure you're in the right directory and using the tool as intended.

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others scrutinizing the Monastery: (4)
As of 2026-04-22 14:52 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found

    Notices?
    hippoepoptai's answer Re: how do I set a cookie and redirect was blessed by hippo!
    erzuuliAnonymous Monks are no longer allowed to use Super Search, due to an excessive use of this resource by robots.