Cannot send signal to another process in perl <p>I have to send a sigusr2 signal number 12 to a process named xyz in a cgi perl script. I do the following:</p> <pre><code>my $pid = `pidof xyz`; kill 12, $pid or die "could not kill: $pid"; </code></pre> <p>It dies when I press the button on which this command run.</p> <p>How can I send signal to a process named "xyz" in a cgi perl script.</p>