Suppose a Perl program modifies the time-out handler $SIG{ALRM}, sets the alarm to 4 minutes, and calls exit.
The program never explicitly restores the time-out handler and it never explicitly turns off the alarm.
Will Perl implicitly restore the time-out handler and implicitly turn off the alarm after the exit call? Or has the program created an orphaned process?