Beefy Boxes and Bandwidth Generously Provided by pair Networks
Clear questions and runnable code
get the best and fastest answer
 
PerlMonks  

how to replicate a perl instance

by mifflin (Curate)
on Jul 08, 2008 at 21:49 UTC ( #696351=perlquestion: print w/ replies, xml ) Need Help??
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?

Comment on how to replicate a perl instance
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

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: perlquestion [id://696351]
Approved by Joost
help
Chatterbox?
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others musing on the Monastery: (14)
As of 2015-07-06 17:34 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    The top three priorities of my open tasks are (in descending order of likelihood to be worked on) ...









    Results (77 votes), past polls