All
When using CPAN::Shell->expand within a perl script to install modules
directly off CPAN, is there a way to force the install to 'follow'
prerequisite Modules?
Regards
Marty
___
Perl-Win32-Users mailing list
[EMAIL PROTECTED]
http://listserv.Acti
> -Original Message-
> From: [EMAIL PROTECTED]
> [mailto:[EMAIL PROTECTED]]On Behalf Of
> [EMAIL PROTECTED]
> Sent: Wednesday 21 March 2001 16:30
> To: [EMAIL PROTECTED]
> Subject: RE: [Perl-unix-users] memory usage of perl processes
>
>
>
>
>
> >I guess you could use 'top' in a unix wind
ops.
ok I worked it out I changed the following code in the loop.
foreach my $mod ( @modules )
{
$string="require $mod";
eval {eval ($string);};
if ($@)
{
my $obj = CPAN::Shell->expand('Module',$mod);
$obj->install
}
}
>I guess you could use 'top' in a unix window.
>
>Then kick off 1 drone only and look at the memory usage. Then * it by the
>number of processes you expect.
>55 is a lot of processes On Any unix system.
>
>Perhaps you could stagger the number of processes. so maybe spawn 30
drones
>and have
All,
I've devised the following script to check if a CPAN module is installed on
a machine, and install it if it isn't.
The only problem is, the eval always fails and says it can't find the
module, and thus always installs it.
Also if I use "use" instead of "Require" it gives me compilation errors
I guess you could use 'top' in a unix window.
Then kick off 1 drone only and look at the memory usage. Then * it by the
number of processes you expect.
55 is a lot of processes On Any unix system.
Perhaps you could stagger the number of processes. so maybe spawn 30 drones
and have each drone
I'm sure this comes up frequently, so I apoligize...
I am designing a system to process almost 4000 remote sites in a nightly
sweep. This process is controlled from a database which maintains site
status in realtime (or at least that's the goal). I am attempting to fork
off around 100 "drones"