SIG{'ALRM'} = sub {exit(0); } alarm '120'; [download]
Originally posted as a Categorized Question.
In reply to If I Want every child process to have EXACTLY 2 minutes to execute? by reyjrar