[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index][Thread Index][Top&Search][Original]
Re: $^S and eval
On Sat, Jan 15, 2000 at 09:26:57AM -0700, Tom Christiansen <tchrist@chthon.perl.com> wrote:
> It appears that, since you really are trying to catch program exits,
> that you should in theory be using an END{} handler instead of
Hmm, I don't know what I originally thought, but it seems that I cannot
catch the error message using an END block ($@ is undef there). (Boy I had
to grep through the whole perl documentation to find a description of what
END really does).
So it seems I have to settle for the suboptimal (but in many cases
working) current solution (my module should work with 5.004).
Thanks anyway!
--
-----==- |
----==-- _ |
---==---(_)__ __ ____ __ Marc Lehmann +--
--==---/ / _ \/ // /\ \/ / pcg@opengroup.org |e|
-=====/_/_//_/\_,_/ /_/\_\ XX11-RIPE --+
The choice of a GNU generation |
|
- References to:
-
Tom Christiansen <tchrist@chthon.perl.com>
[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index][Thread Index][Top&Search][Original]