On 28/11/2011 15:03, Ramprasad Prasad wrote:
I have an array of scalars.
I want to run a loop like this
my @workers = qw ( a b c );
my $MAXCHILD = 20;
foreach my $i( 0 .. $MAXCHILD){
run_job($i,$workers[$i++]);
}
Can I do this ?
Take a look at Array::Iterator, which has an Array::I
On 11-11-28 10:03 AM, Ramprasad Prasad wrote:
I have an array of scalars.
I want to run a loop like this
my @workers = qw ( a b c );
my $MAXCHILD = 20;
foreach my $i( 0 .. $MAXCHILD){
run_job($i,$workers[$i++]);
}
Can I do this ?
for my $i ( 0 .. $MAXCHILD ){
run_job( $i, $wor
I am not sure you want to do that... Generally udp traffic is lossy while web
content is over tcp so it is not. As a result there are huge network
performance issues that are raised... What might work, if I can guess the
problem you are having, is you can ssh into the remote box and tunnel ud
I have an array of scalars.
I want to run a loop like this
my @workers = qw ( a b c );
my $MAXCHILD = 20;
foreach my $i( 0 .. $MAXCHILD){
run_job($i,$workers[$i++]);
}
Can I do this ?
On Thu, Nov 24, 2011 at 7:19 PM, JPH wrote:
19
20 my $hostname = $ARGV[0];
21 my $portnumber = $ARGV[1];
22 my $host = shift || $hostname;
23 my $port = shift || $portnumber;
I'm not sure what the meaning is of this but the thing that is happening is
simple enough. You have @ARGV w
Hello,
I am mailing this list as I believe I am still a beginner in some areas of
Perl such as Networking protocols. For my research project I am using a
device that has the following specifications:
https://www.gumstix.com/store/product_info.php?products_id=257
The device is running Ubuntu, and