Beefy Boxes and Bandwidth Generously Provided by pair Networks
No such thing as a small change
 
PerlMonks  

what is up with Dist::Zilla?

by blue_cowdawg (Monsignor)
on Mar 06, 2014 at 19:34 UTC ( [id://1077278]=perlquestion: print w/replies, xml ) Need Help??

blue_cowdawg has asked for the wisdom of the Perl Monks concerning the following question:

So I start working on a project that I have neglected for a while and I attempt to do a test install of it and figure out where I left off. It is a set of modules for a role playing game that I used Dist::Zilla to manage.

Just so I could landmark where I am with the project I did a test build of if and created a small test program to use the module and ran the install. Running the test program much to my shock resulted in my getting told by Perl it could not find the modules that I just installed? So what's up with that?

I check the perllocal.pod file and find:

=head2 Thu Mar 6 14:18:41 2014: C<Module> L<RPG::Traveller::Starmap|R +PG::Traveller::Starmap> =over 4 =item * C<installed into: /usr/local/share/perl/5.14.2>
what the hey? why on earth is that happening?


Peter L. Berghold -- Unix Professional
Peter -at- Berghold -dot- Net; AOL IM redcowdawg Yahoo IM: blue_cowdawg

Replies are listed 'Best First'.
Re: what is up with Dist::Zilla?
by Corion (Patriarch) on Mar 06, 2014 at 20:17 UTC

    I never used Dist::Zilla because I feel it incorporates too much of the wrong kind of magic. But my general impression is that it seems to be mostly for building a distribution, not for actually installing modules, which is supposedly still done through Module::Build or ExtUtils::MakeMaker.

    With that said, how did you run the install and what was the output? I assume that you made sure that the correct version of Perl was run by both, the module installer and your test program? Maybe Dist::Zilla picked up /usr/bin/perl while your preferred Perl seems to be something else?

Re: what is up with Dist::Zilla? (source)
by tye (Sage) on Mar 06, 2014 at 19:41 UTC

    Just go browse the source code for Dist-Zilla and see why it would do that. I hear the code is extremely clean-looking so it should be easy to read.

    - tye        

Re: what is up with Dist::Zilla?
by Anonymous Monk on Mar 07, 2014 at 00:32 UTC

    Just so I could landmark where I am with the project I did a test build of if and created a small test program to use the module and ran the install. Running the test program much to my shock resulted in my getting told by Perl it could not find the modules that I just installed? So what's up with that?

    Increase verbosity so the ... whatever command you issued (Dist::Zilla::App::Command::instal) ... tells you what gets installed where

    I tried it, --verbose is verbose about the dzil stuff, not about the cpanm install procedure

    I'm not surprised dzil still sucks

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others having an uproarious good time at the Monastery: (4)
As of 2024-04-19 22:30 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found