8.151 Thread::Signal

Starts a special signal handler thread to reliably run signal handlers. All signals are handed to this thread, which runs the associated $SIG{ signal } handlers for them.

use Thread::Signal;

$SIG{HUP} = 
handler
;