http://qs321.pair.com?node_id=865617


in reply to Unix real time signals

Try without the SIG part. I.e: $SIG{'RTMIN+5'} = \&on_sig;