in reply to cpanp installdeps

Just run cpan . to install the distribution in the current directory including installing all dependencies.

Replies are listed 'Best First'.
Re^2: cpanp installdeps
by markg (Novice) on Dec 21, 2007 at 20:53 UTC

    Genius! How could I have missed this?

    It would be nice to be able to just install the dependencies, though. This seems to install the module as well.

    cpanp should have something like this too.

      As a hack, you could inject a failing test to the test suite. Something like touch t/failing.t should do it.

      Though an installdeps command would be nice.

        I threw together a quick plugin, which I am releasing on CPAN as a developer version (CPANPLUS::Shell::Default::Plugins::Prereqs). I would love some feedback. Ideally, I would probably separate the ability to act on local unpacked directories from the prereq-only install, but for now they are intertwined.

        Also, I'm wondering if I should get permission from someone to stick it in the CPANPLUS... namespace.