Help for this page
use POSIX ":sys_wait_h"; #... ... # check in to see if the process has ended ... $kid = waitpid(-1, WNOHANG); } while $kid > 0;