On Sun, 9 Feb 2003 11:02:52 +0100, [EMAIL PROTECTED] (Anthony) wrote: >Hi, > >for the while loop i figure out before your answers, anyhow, my question was >should i send the whole array or not? >also is it possible to retrieve the data from the pipe or not?
If you don't want to use a module like IPC::Open2, then you need 2 pipes, 1 to send the array, and 1 to return the sorted array. After your sort script is finished, have it write it to another pipe back to the original script. You will have to keep the original script going, while the sort script does it's work, so you will have to work out a loop of some kind, to check for the return array through the second pipe. It all can be done. But you will find that the IPC series of modules take care of all the details for you. -- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]