Pathologically Eclectic Rubbish Lister | |
PerlMonks |
Re: Perl Daemons and SIGHUPby cdarke (Prior) |
on Feb 24, 2010 at 13:56 UTC ( [id://825076]=note: print w/replies, xml ) | Need Help?? |
Like me you probably found Can't catch signals after an exec? which recommends using the POSIX routines. Unfortunately you have an error in your SigAction->new, you should supply a reference to the handler, not its name: I reproduced a simplified version of your problem using $SIG{HUP} and this fixed it.
In Section
Seekers of Perl Wisdom
|
|