Chip Salzenberg wrote:

Allison, if you give me the OK, I'll recast pdd23 in the alternative way I
had in mind, where:

 * exception handlers are closures,

 * the closures are called _inside_ the dynamic scope where the throw occurred,

 * a closure returning without executing C<caught> implies "I didn't handle
       it, try the next handler",
     therefore obviating the "rethrow" opcode.

Thumbs up.

PS: "caught" will perhaps be better renamed "handled".

Agreed.

Allison

Reply via email to