Dear Monks,
I have a perl script thats spaws many processes and each process executes gzip command on a huge log file. Now I want to be able to somehow record the result of the command excecuted by each process in a single datastructure.( Result -- as in if the command failed or went thru successfully. ). After all the processes are done executing, the parent process should take this info and continue its processing.
I want to know which data structure to use and how do I share it among all the child processses and make it avaliable to the parent process aswell.
Thanks.