On Tue, Feb 11, 2003 at 09:54:47AM -0200, 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? I wanna > end up with a script that the operator just runs before publishing the new > scripts on the production system, and that is able to install all libraries. > I have a connection to the internet and think on something like > #!/usr/bin/perl -wT > use strict; > use CPAN; > install qw/ Some::Module And::Another::One Time::Parse DateTime /; > __END__
You could use Abigail's The::Net module: http://perlmonks.thepen.com/92473.html use The::Net; use Some::Module; use And::Another::One; etc. Tony