why this is not working ??

2003-08-27 Thread T.S.Ravi Shankar
Hi all : I am running a process "n" number of times with a for loop. I am interested in looking for the status at specific intervals(say at every 10 iterations). I wrote the below shown code for this purpose but without success : --- open(STATUS,">> status.txt"); for ($i=0; $i<

Outputting the status while the processes are running

2003-08-26 Thread T.S.Ravi Shankar
Hi all : I need to run a process for thousands of (known number) of combinations of the settings needed for the process to run. I have the settings in different arrays & I am running the process as shown below : I would like to see the status after every 50 runs in a separate file. But the fol

fork & wait

2003-08-25 Thread T.S.Ravi Shankar
Dear all : I see these lines in a perl program : $pif = fork; if($pid == 0) { exec("hpxy -s xxx.abc"); }else{ $pid1=wait; } I could understand that the fork is needed here to get into the child process "hpxy" !! What is the need for the "wait" here ?? When will the "else" loop be entered

get all the arrays with names starting with xyz

2003-08-17 Thread T.S.Ravi Shankar
Hi all : I have few arrays with names starting with "xyz_". After the initial definitions I want to change values of a particular index of all arrays whose names start with "xyz_". It would be cumbersome for me to do something like : $xyz_blahblah[$index] = "ldfhdlf"; $xyz_blooblooh[$index] = "

How do I return more than 1 array from a sub routine ?

2003-08-14 Thread T.S.Ravi Shankar
Hi all : How could I return more than 1 array or hash from a sub routine & collect them in different arrays or hashes in the calling program ?? Thanks, Ravi -- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]