First, let me apologize. I'm almost positive this question has been answered before, but I couldn't find it.

I have a number of modules I've written. I've got to install my modules on several machines. The modules have a few non-standard prerequisites. So, every time I install my module on a new machine, I have make a list of the prereqs, fire up CPAN and install the prereqs, and then manually install my modules.

Is there a way I can either install my custom module and the prereqs in one command ala:

frob pileofrogs-v0.0.1.tar.gz

Or use cpan to install my modules and the prereqs as though my modules were on CPAN?

perl -MCPAN -e "CPAN::install pileofrogs"

CPAN::Site looks like it does what I want, but it has this warning:

This is not even alpha software and will be made obsolete by CPAN.pm extensions/plugins some day.

So is CPAN::Site actually OK despite that warning, or is there something better to solve my problem?

Thanks!
-Pileofrogs

Update: Success! See CPAN::Mini::Inject Discoveries.


In reply to CPAN and Site Modules by pileofrogs

Title:
Use:  <p> text here (a paragraph) </p>
and:  <code> code here </code>
to format your post, it's "PerlMonks-approved HTML":



  • 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:
    & &amp;
    < &lt;
    > &gt;
    [ &#91;
    ] &#93;
  • Link using PerlMonks shortcuts! What shortcuts can I use for linking?
  • See Writeup Formatting Tips and other pages linked from there for more info.