On Wed, Aug 16, 2000 at 12:36:42PM -0700, Peter Scott wrote:
> If you use a switch statement and want implicit rethrow (and I do), then 
> your exception handler somehow has to look inside the switch to see if an 
> exception was handled.  Even if that's possible, it implies a level of 
> incestuousness that isn't good; what if the programmer puts something 
> besides a switch in the catch/else block?  Is it supposed to look inside 
> that too to figure out if the exception was caught?

Let the programmer tell Perl that the exception was handled.  I
suggested in another email that "undef $@" would do it.  But that's
just an idea.

-Scott
-- 
Jonathan Scott Duff
[EMAIL PROTECTED]

Reply via email to