$SIG{__DIE__} will fire when die() happen $SIG{INT} will fire when Ctrl-C pressed ...
Is that anything like this exists?
In reply to Any reference about %SIG by exilepanda