in reply to Re: Handle SIGHUP with AnyEvent
in thread Handle SIGHUP with AnyEvent

Yeah, you are - of course - right. But the problem persists with the corrected code.