using resources to reduce run-time

gyanku_at_hotmail.com
Date: 01/28/05


Date: 27 Jan 2005 20:41:22 -0800

Hi All:

I have loop in my perl program
foreach (@mytest)
{
system($cmd2);
}
The system($cmd) takes a long time. I have other machines available.
Can I login from the perl script and run the perl command on those
machine to reduce run time.
Please show me how todo that. How would I know where in the mytest list
I should log into the other machine.
How will when one task is finished another would start.
Some sketchy code fragment would help.

Thanks in advance.

-Mkesh



Relevant Pages

  • Re: "our" from XS and some other questions
    ... creates an SV and a variable $mytest. ... Docs say, however, always to include "-w" (this is Perl 5.00503, so there is ... a "our $mytest" at the start of the script. ... A-1010 Vienna / AUSTRIA ...
    (comp.lang.perl.misc)
  • parse hash by array element seems to run slow
    ... I've been through the faq's and every web site that focuses on perl ... I iterate the array and search the hash keys to find a match and then ... foreach $verifyArr ...
    (comp.lang.perl.misc)
  • Re: Perl code to fill-in online form
    ... I am trying to write a program in perl that I will use to fill ... Here are the steps that I follow to get the online form: ... web site first and get a Login form 2. ... You probably need to actually log in via Perl and get the cookies (login ...
    (comp.lang.perl.misc)
  • [Full-disclosure] Webmin miniserv.pl format string vulnerability
    ... a new class of exploitable (remote code) perl format string ... During the login process it is possible to trigger this ... vulnerability via a crafted username parameter containing format string ... written in perl by Jamie Cameron. ...
    (Full-Disclosure)
  • Perl crash related to Tie::File and hashes
    ... crash in perl when I try to use the data later on. ... sub TIEARRAY { ... foreach my $p { ... The assignment in the last loop causes perl to crash. ...
    (comp.lang.perl.moderated)