A while ago I posted a question about how to retrieve diagnostic information but didn't get any replies. So I'd like to rephrase my question to see if anybody can help.

In my template, I say something like:

  [% USE c = Class('MyClass') ;
     v = c.some_method(args) %]

My problem is that some_method is dying but I don't get any diagnostic output. It seems as though TT just swallows the message. I've tried

  Template::Provider->new({DEBUG => 'all'});

but that still doesn't show the die message from my method.

Can anybody tell me how to retrieve this message?

Thanks and regards,
Dave


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

Reply via email to