I was not able to reproduce the problem you report. Can you give more explicit instructions to do this?
The following from perlipc may be of interest to you:
For example, to trap an interrupt signal, set up a handler like this:In other words, you may want to change your handler definitions to something like:sub catch_zap { my $signame = shift; $shucks++; die "Somebody sent me a SIG$signame"; } $SIG{INT} = ’catch_zap’; # could fail in modules $SIG{INT} = \&catch_zap; # best strategy
$SIG{'INT'} = \&sigint_catcher;
Can you elaborate on why you want to turn this into a class?
the lowliest monk
In reply to Re: daemon ... oop'ified?
by tlm
in thread daemon ... oop'ified?
by Zarathustra
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |