On Tue, 11 Feb 2003, Luis Campos de Carvalho wrote: > > The use of a third-party module raises a new problem: there is any way to > automate the installation of pre-requisite libraries on a system?
CPANPLUS is what you want. http://www.perl.com/pub/a/2002/03/26/cpanplus.html The bit you want is on the next page. This of course assumes that they have CPANPLUS installed. Darn. You could always do system("perl -MCPAN -e 'install $modulename'"); You'd need to ensure that they had CPAN set up and everything. Worst case senario, you simply[1] download the module, uncompress it, and do the make, make install thing all from a script. It'd be easier to use CPAN if you can though. Mark. [1] This is only simply if you either a) Know they have the LWP module installed or b) You know that they will have fetch/lynx/wget on their system) -- #!/usr/bin/perl -T use strict; use warnings; print q{Mark Fowler, [EMAIL PROTECTED], http://twoshortplanks.com/};