nitin1704 has asked for the wisdom of the Perl Monks concerning the following question:
I have a subroutine to handle the USR1 signal. I would like to know which process is invoking this signal. Is there a way to do that?
Thanks!$SIG{USR1} = sub { #code }
|
---|
Replies are listed 'Best First'. | |
---|---|
Re: Getting the source of a signal
by moritz (Cardinal) on Nov 30, 2012 at 07:44 UTC | |
by RichardK (Parson) on Nov 30, 2012 at 10:44 UTC | |
Re: Getting the source of a signal
by Anonymous Monk on Nov 30, 2012 at 20:32 UTC |
Back to
Seekers of Perl Wisdom