in reply to Error Handling in Object-Oriented Perl
How does your $@ get reset in your destructor? ( I assume you're talking about DESTROY() )
If it's just a simple matter of $@ being reset because of something you do in DESTROY, I think this is all you need (which is similar to what I recently experienced):
sub DESTROY { local $@; ... your cleanup code... }
If not, I think we would need more context...
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: Re: Error Handling in Object-Oriented Perl
by hackdaddy (Hermit) on May 23, 2002 at 22:30 UTC | |
by lestrrat (Deacon) on May 23, 2002 at 22:55 UTC | |
by Joost (Canon) on May 24, 2002 at 16:09 UTC | |
by lestrrat (Deacon) on May 24, 2002 at 17:30 UTC |