in reply to Re: Carping in DESTROY.
in thread Carping in DESTROY.
I don't know where this is documented but die() in DESTROY isn't thrown on my 5.8.7.
sub A::DESTROY { die 'ok' } my $obj = bless [], 'A'; $obj = ''; # no exception occurs print "$@\n"; # " (in cleanup) ok at - line 1."
⠤⠤ ⠙⠊⠕⠞⠁⠇⠑⠧⠊
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^3: Carping in DESTROY.
by ikegami (Patriarch) on Oct 24, 2006 at 18:01 UTC | |
by eff_i_g (Curate) on Oct 24, 2006 at 19:10 UTC | |
by Anonymous Monk on Oct 25, 2006 at 10:32 UTC | |
by eff_i_g (Curate) on Oct 25, 2006 at 14:27 UTC |