Beefy Boxes and Bandwidth Generously Provided by pair Networks
more useful options

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
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.


Log In?

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

How do I use this? | Other CB clients
Other Users?
Others scrutinizing the Monastery: (2)
As of 2023-02-05 20:03 GMT
Find Nodes?
    Voting Booth?
    I prefer not to run the latest version of Perl because:

    Results (32 votes). Check out past polls.