in reply to Re: Re: Removing Modules
in thread Removing Modules

It might be easier/safer to start from a minimal installation with the stuff you want, and then pack up and distribute that filesystem to your other machines, nuking the older copies. So long as the architectures and Perl versions are the same across systems, the /usr/lib/perl5 hierarchy should be reasonably portable. That would also greatly assist your "in sync" needs.

Replies are listed 'Best First'.
Re: Re: Re: Re: Removing Modules
by TheoPetersen (Priest) on Feb 02, 2001 at 22:36 UTC
    You'll need the corresponding Perl binaries, if there's any chance anything was built differently between machines. Here's my script for building a tar-gzip file that I use to update the sites I keep in sync:
    cd /usr/local/ find lib/perl5 -name "*.a" -o -name "*.html" > /tmp/nocopy gtar zcvf /tmp/Perl5.tar.gz lib/perl5 -X /tmp/nocopy bin/perl* bin/pod +* lib/libperl* rm -f /tmp/nocopy
    This avoids copying the library and HTML doc files that aren't needed at the other sites.