in reply to
Re^4: Forking child processes.
in thread
Forking child processes.
Signals interrupt sleep. Mind you, no signals are being handled here, so your solution would work too.
Comment on
Re^5: Forking child processes.
In Section
Seekers of Perl Wisdom