I know I can set $SIG{signal} to trap a signal, but I need something beyond this. I'm writing a daemon. When it recieves a kill -HUP it will reload the config file. Is there a way I can find out which tty the signal came from and send a message such as:
"$0: configuration reloaded, continuing"