I am a little bit confused ..
I am using the ithread feature of perl 5.8.0. I have a perl script in which through the threading feature, I have spawned a new thread. In this new thread, through the perl 'system' command, I am invoking another script. Now if the main thread exits, the new perl script invoked through the thread continues it's execution. Now in case i want this script to be terminated as well, when the main script exits due to some error, what should I do..?
I am using the ithread feature of perl 5.8.0. I have a perl script in which through the threading feature, I have spawned a new thread. In this new thread, through the perl 'system' command, I am invoking another script. Now if the main thread exits, the new perl script invoked through the thread continues it's execution. Now in case i want this script to be terminated as well, when the main script exits due to some error, what should I do..?