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.
Posts are HTML formatted. Put <p> </p> tags around your paragraphs. Put <code> </code> tags around your code and data!
Titles consisting of a single word are discouraged, and in most cases are disallowed outright.
Read Where should I post X? if you're not absolutely sure you're posting in the right place.
Please read these before you post! —
Posts may use any of the Perl Monks Approved HTML tags:
- a, abbr, b, big, blockquote, br, caption, center, col, colgroup, dd, del, details, div, dl, dt, em, font, h1, h2, h3, h4, h5, h6, hr, i, ins, li, ol, p, pre, readmore, small, span, spoiler, strike, strong, sub, summary, sup, table, tbody, td, tfoot, th, thead, tr, tt, u, ul, wbr
You may need to use entities for some characters, as follows. (Exception: Within code tags, you can put the characters literally.)
| |
For: |
|
Use: |
| & | | & |
| < | | < |
| > | | > |
| [ | | [ |
| ] | | ] |
Link using PerlMonks shortcuts! What shortcuts can I use for linking?
See Writeup Formatting Tips and other pages linked from there for more info.