Harry Putnam wrote:
I want to build something into a perl program that acts like the
`trap' operator in shell scripts.
Checking perldoc -q trap gives some confusing info (confusing to me
anyway). So it wasn't clear to me if it can be done or what.
It also points you to the perlipc document which explains it in more detail.
perldoc perlipc
I want to make my program write to a log if it sees a signal that
KILLS it.
According to the man page you can't do that:
man 7 signal
[snip]
The signals SIGKILL and SIGSTOP cannot be caught, blocked, or ignored.
John
--
use Perl;
program
fulfillment
--
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
<http://learn.perl.org/> <http://learn.perl.org/first-response>