in reply to signal handling

There is a default signal handler for every signal that can be received. Most of them just happen to be NO-OPs.

To create your own, you have to create a reference to a subroutine and put it into the %SIG array. So, to create your own SIGINT handler, do the following:

sub my_sig_int_handler { print "Woo-Hoo!\n"; } my $oldSigInt = $SIG{INT}; $SIG{INT} = \&my_sig_int_handler;
As for sending the signal, I would system out to whatever Unix method you want to use to send the signal. Usually, kill is the most common way I've see. ('man kill' for more details)

------
We are the carpenters and bricklayers of the Information Age.

Don't go borrowing trouble. For programmers, this means Worry only about what you need to implement.