> Yes, in CGI::Carp.  Well, perhaps not a bug, but a badlet.
>
> If memory serves, it installs a universal $SIG{__DIE__} handler (generally
> considered a Bad Thing) which screws about with the regular TT exception
> mechanism.
>

Is there a right way to do this?  I'm using a similar technique to wrap
unexpected dies into an exception class to allow for intelligent dispatch.

I tried building my own wrapper to TT2, where I reset the die handler back
to default, and used AUTOLOAD to pass everything along, but this feels
like an ugly hack, and I'm still seeing occasionally weird behaviour.

thanks
kellan

_______________________________________________
templates mailing list
[EMAIL PROTECTED]
http://lists.template-toolkit.org/mailman/listinfo/templates

Reply via email to