Brian d foy wrote about using CPAN::Mini to do something similar in the Fall 2007 issue of The Perl Review (first page sample available <a href="http://www.theperlreview.com/SamplePages/ThePerlReview-v4i0.p9.pdf">here</a>). There&#39;s been a few blog posts recently about CPAN::Mini (Perlbuzz etc..) which Google should turn up, and I can bring along my copy of TPR to the next meeting if you don&#39;t have one to hand. I haven&#39;t tried it myself so not sure if it will solve your problem, but might be a good place to start.<br>
<br>Cheers,<br><br>Patrick Donelan<br><a href="http://patspam.com">http://patspam.com</a><br><br><div class="gmail_quote">On Mon, Jun 2, 2008 at 1:24 PM, Ian Macdonald &lt;<a href="mailto:ickphum@gmail.com">ickphum@gmail.com</a>&gt; wrote:<br>
<blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">Hi,<br><br>I was wondering if people had good solutions for distributing internal code and known-to-work CPAN modules through a local repository. We have linux &amp; WinXP boxes on site and up to now the CPAN modules we need (60+) have been installed on the WinXP boxes with a combination of CPAN and PPM, which has been painful due to dependencies, availability of up-to-date PPM modules, etc.<br>

<br>Code distribution for our internal code has been done by shared drives for the WinXP boxes; our newer work has been on linux and we&#39;ve just been installing the code separately on each machine, which will bite us eventually.<br>

<br>We&#39;re currently trialling Strawberry Perl as an alternative to ASPerl, and we were looking to fix our code distribution at the same time by using CPAN::Site to create a local repository holding our local code and any CPAN modules we wished to freeze w.r.t. their versions; we&#39;ve had several instances where upgrades to CPAN modules have caused regression failures or inconsistencies in our system. This way, all boxes could be installed with a single cpan bundle and any OS-specific issues can be handled in the relevant module&#39;s makefile.<br>

<br>Does anybody have any better ideas, or can see problems with where we&#39;re going?<br><br clear="all">PS on a related note; we&#39;ve also thought about installing CPAN modules on new boxes by simply copying the perl/site directory from a working box. Assuming that the OS matches down to the patch level, is this a safe approach?<br>
<font color="#888888">
-- <br>Ian Macdonald<br>datacomIT<br>
</font><br>_______________________________________________<br>
Melbourne-pm mailing list<br>
<a href="mailto:Melbourne-pm@pm.org">Melbourne-pm@pm.org</a><br>
<a href="http://mail.pm.org/mailman/listinfo/melbourne-pm" target="_blank">http://mail.pm.org/mailman/listinfo/melbourne-pm</a><br></blockquote></div><br>