in reply to Re: Killing a child process
in thread Killing a child process

The approach recommended above is actually the less violent

kill INT => $pid;