On Fri, 11 Jan 2002 17:34:30 -0600 (CST)
Dave Rolsky <[EMAIL PROTECTED]> wrote:

> > You would have:
> >     try {
> >         code;
> >     } catch FooException with {
> >         code for FooExceptions;
> >     } catch BarException with {
> >         code for BarExceptions;
> >     } otherwise {
> >     };
> 
> And the fun potential for memory leaks with nested closures.

Matt has an idea for doing this with Filter module, instead of
nasty closures.
 
> AFAICT, Tatsuhiko's module is designed to work with either of those types
> of objects transparently, but it provides an alternate mechanism for
> catching exceptions.

Absolutely.
 
> And anything inspired by my Sig::PackageScoped module scares me, 

Yep. the module is greaty inspired, and in fact borrows its some
code from Sig::PackageScoped!

> but its an interesting idea ;)

--
Tatsuhiko Miyagawa <[EMAIL PROTECTED]>

Reply via email to