Re: On the case for exception-based error handling.
[email protected] (Chaim Frenkel) 23 Aug 2000 16:31:02 -0400
| Newsgroups | perl.perl6.language.errors |
|---|---|
| Message-ID | <[email protected]> |
>>>>> "TO" == Tony Olekshy <[email protected]> writes: >> The unwind logic would treat a scope with no exception set _as if_ >> each call were wrapped in at try block. TO> I don't think so. If no exception is in scope Perl should continue TO> to generate and propagate exceptions (die and $@) as it does now, TO> so we don't break tradition. No, that should be the difference between die and throw. Die is immediately fatal. (i.e. current semantics) throw is new and does the magic. We get no breakage that way. <chaim> -- Chaim Frenkel Nonlinear Knowledge, Inc. [email protected] +1-718-236-0183