[grand-rapids-pm-list] Setting up PERL modules on multiple computers

Matt Hahnfeld matt.hahnfeld at gmail.com
Fri Feb 24 07:00:29 PST 2006


If you're referring to (mostly) CPAN modules, another option would be
to use the Bundle or autobundle feature of CPAN.pm.  This would
automatically create a list of all modules you have installed on one
machine (limitable if you specify the names), and let you easily
install them on another machine by copying the bundle and using the
command "perl -MCPAN -e "install Bundle::DavidsModules".  The modules
themselves would then be automatically downloaded, compiled, and
installed on the second machine.

See the CPAN faq for details:
http://www.cpan.org/misc/cpan-faq.html#How_make_bundle

A bundle file is interesting, in that it simply uses Perl's POD
(documentation) for its implementation.  Therefore, to see what
modules are in your bundle you can just run "perldoc
Bundle::DavidsModules".

We used this feature extensively at the last place I worked to keep
our perl libraries synchronized across different machines and
platforms.

Matt Hahnfeld

On 2/23/06, Todd Chapman <todd at chaka.net> wrote:
> Autrijus Tang's PAR might be an interesting solution.
>
> One of it's features is the ability to use modules
> remotely. Go to: http://search.cpan.org/~smueller/PAR/lib/PAR/Tutorial.pod
> and search for "On-demand library fetching"
>
> Never done it myself though...
>
> -Todd
>
> On Thu, Feb 23, 2006 at 09:39:44PM -0500, David Hoppe wrote:
> > Hello,
> >
> > I have a project I am working on that uses several PERL modules.  I am
> > sure there is a way to setup all of the PERL modules I need on one
> > computer then magicly poof them over to another computer so I do not
> > have to set them all up again.  I don't know what this is called though,
> > if I did I would probably be able to find out by searching for the name
> > of the process.  Could someone tell the me if this exsist, what it is
> > called and a quick summary about how it works.
> >
> > Thank you,
> >
> > David Hoppe
> >
> >
> >
> > _______________________________________________
> > grand-rapids-pm-list mailing list
> > grand-rapids-pm-list at pm.org
> > http://mail.pm.org/mailman/listinfo/grand-rapids-pm-list
> _______________________________________________
> grand-rapids-pm-list mailing list
> grand-rapids-pm-list at pm.org
> http://mail.pm.org/mailman/listinfo/grand-rapids-pm-list
>


More information about the grand-rapids-pm-list mailing list