weismat has asked for the wisdom of the Perl Monks concerning the following question:
If I call this program in the debugger, I see that the destructor gets called. If I use it interactively with Solaris 10 and Perl 5.8 and terminate the program with Ctrl+C or a signal, then the constructor is not called.my $a=A->new(); while() { sleep 1; } exit;
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: Destructors when the program is stopped via a signal
by ikegami (Patriarch) on Mar 18, 2008 at 06:21 UTC | |
by weismat (Friar) on Mar 18, 2008 at 09:29 UTC | |
by ikegami (Patriarch) on Mar 18, 2008 at 12:55 UTC | |
|
Re: Destructors when the program is stopped via a signal
by pc88mxer (Vicar) on Mar 18, 2008 at 07:55 UTC | |
by merlyn (Sage) on Mar 18, 2008 at 16:28 UTC |