Beefy Boxes and Bandwidth Generously Provided by pair Networks
Clear questions and runnable code
get the best and fastest answer
 
PerlMonks  

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

by perlfan (Vicar)
on Dec 29, 2021 at 21:51 UTC ( #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? | Other CB clients
Other Users?
Others musing on the Monastery: (2)
As of 2022-05-29 08:28 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    Do you prefer to work remotely?



    Results (101 votes). Check out past polls.

    Notices?