brian d. foy gave a talk about minicpan not long ago. One of the uses that he walked through was setting up your own miniature CPAN repository with your own modules. Then configuring other machines to pull from that repository.

Assuming that your target machines have the standard make infrastructure installed (Unix and Linux should, Windows can be made to, particularly if you've installed Strawberry Perl), you can then use the standard CPAN toolchain to update your target machines from your central repository.

One of the nice things about this solution is that each machine can keep track of its own dependencies. So if you need a particular script, the installation process will figure out and handle all of the modules you also need to install.

I don't remember the full details to make it work, but he has an article about it in the current issue of The Perl Review. (Yes, this requires a subscription. But you'll be getting access to a useful Perl resource.)


In reply to Re: Distributing code to 100's of servers by tilly
in thread Distributing code to 100's of servers by perlofwisdom

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.