in reply to daemon ... oop'ified?
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
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^2: daemon ... oop'ified?
by Zarathustra (Beadle) on Jun 17, 2005 at 08:50 UTC | |
|
Re^2: daemon ... oop'ified?
by Zarathustra (Beadle) on Jun 17, 2005 at 09:14 UTC |