http://qs321.pair.com?node_id=696351

mifflin has asked for the wisdom of the Perl Monks concerning the following question:

I have an aix box.
It has Perl 5.8.2 installed.
When I first started using this machine I had the sys admin add some modules (Log4Perl, ...)
The problem is I don't remember what we installed.
I now have a newly setup aix box again with Perl 5.8.2 installed but it does not have these added modules.
Is it possible to either....
A. get a list of added modules from each and then I can compare
or
B. rsync the /usr/opt/perl5/lib/site_perl/5.8.2 directories
I'm afraid that B might break something.
Anybody have any suggestions?

Replies are listed 'Best First'.
Re: how to replicate a perl instance
by Joost (Canon) on Jul 08, 2008 at 21:58 UTC
Re: how to replicate a perl instance
by pc88mxer (Vicar) on Jul 08, 2008 at 22:49 UTC
    Perl Hacks hack #32, "Manage Module Installations" suggests using the autobundle feature of the CPAN shell.
Re: how to replicate a perl instance
by Khen1950fx (Canon) on Jul 08, 2008 at 23:06 UTC
    I think that sitepods will do what you want.
Re: how to replicate a perl instance
by stephen (Priest) on Jul 09, 2008 at 16:54 UTC
    The CPAN shell has an "autobundle" command which automatically creates a bundle of all currently-installed modules. Edit: Sorry, didn't see pc88mxer's response.

    stephen