I'm trying to refactor an application I wrote a few months ago and ran into a question about SIG{TERM}.
Currently I have a single application that uses the approach of: my $please_die = 0; $SIG{TERM} = sub {$please_die = 1 }; to control when I should exit out of different loops and structures. But if I have a script that uses objects, how to I propogate this to the objects from the main script? The process to 'please_die' would be to exit nicely from each of the current objects and propogating this all back to the main script and closing out nicely. hints? -- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] <http://learn.perl.org/> <http://learn.perl.org/first-response>