Hi,
I want to know how we can use callback functions within perl for a scenario as follows. I have a parent process with N number of child's. The parent sleeps for some time and returns back to check whether any child is alive. If it is then it says "Processing" and goes back to sleep. If all the children are completed, the parent exits with saying a status of "Completed". I want to know how callback functions can be used for this kind of scenario. Please give me your comments and suggestions.
Thanks and Regards,
-vijay