in reply to Parent process finished. How to exit the child process.

You may be able to get what you want using the tv_interval() method in Time::HiRes.

Cheers,

JohnGG