in reply to Re^2: END{} Subroutine not being called for Child process
in thread END{} Subroutine not being called for Child process

When I fork the process, I believed that the process in question would only run what was inside the bracket, then exit.

if doesn't do anything special if the condition happens to be a call to fork. It won't exit if you don't tell it to exit. Indeed, it sounds like you want exec instead of system.

Replies are listed 'Best First'.
Re^4: END{} Subroutine not being called for Child process
by SituationSoap (Acolyte) on Aug 04, 2009 at 20:03 UTC
    Thanks for the clarification. I've made that change, and everything seems to be working fine. I appreciate your help.