[tpm] Question on CPAN modules and eliminating multiple installs

J. Bobby Lopez bobby.lopez at gmail.com
Wed Mar 10 12:42:04 PST 2010


Hi All,

I have several applications installed on multiple servers, and many of them
are using many of the same modules (both CPAN modules and custom modules).

I'm looking at ways of reducing or eliminating this duplication of code
across systems - or failing that, implementing a way for the applications to
rsync a central modules repository over to the local system on a regular
basis.

What I'm looking for is the ability to grab modules from a remote system
which are currently not installed on the local system, and stuffing them
away in some non-root directory (e.g: ~/perl/local_modules/CPAN/,
~/perl/local_modules/CUSTOM/).  Basically only grabbing the modules I need
for a given server, and not everything available on the remote central
modules repository.

Before I get ahead of myself and start designing this from scratch for my
own purposes, I'm curious if there are any modules or tools that TPM's are
currently using to do the same thing.

I've looked at some modules like Mini CPAN, but they seem to be attempting
to implement a CPAN mirror of some kind, whereas I'm trying to implement a
local repository of modules which are already installed and ready for use.

Thanks,
Bobby
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.pm.org/pipermail/toronto-pm/attachments/20100310/b51ee992/attachment.html>


More information about the toronto-pm mailing list