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>
-- <br>Ian Macdonald<br>datacomIT<br>