in reply to Re: Signal Handling throws Core Dump
in thread Signal Handling throws Core Dump
When I give $SIG{INT} an anonymous subroutine, I can at least get it it to increment $sig and exit cleanly.
dsb
This @ISA my( $cool ) %SIG
But when I try to run an object method designed to remove a stored PID from a DB, it cores.
# doesn't work $SIG{INT} = sub { $sig++; $control->removeMonitorPID($monitor->{PID}); };
dsb
This @ISA my( $cool ) %SIG
|
---|
Replies are listed 'Best First'. | |
---|---|
Re^3: Signal Handling throws Core Dump
by jettero (Monsignor) on Apr 25, 2007 at 16:57 UTC | |
Re^3: Signal Handling throws Core Dump
by former33t (Scribe) on Apr 26, 2007 at 03:05 UTC | |
by jrw (Monk) on Apr 26, 2007 at 16:52 UTC | |
by dsb (Chaplain) on Apr 28, 2007 at 03:13 UTC |
In Section
Seekers of Perl Wisdom