http://www.perlmonks.org?node_id=1024450


in reply to Killing the child process is not working

G'day srlbharu,

I'm not entirely certain what you're trying to achieve here. Sending a negative signal targets a process group not an individual process. To terminate the current process, you can just use die, exit or one of the Carp routines.

I suspect you're lacking knowledge or understanding of one or more of the following. (Also note that many of these contain links labelled "Portability issues:".)

-- Ken