in reply to Class methods die silently?

First, if $obj is an object, then $obj->method() is an object method, not a class method.

The whole "fatalsToBrowser" thing is kind of a hack and people frequently have problems with it. In this case, I'm guessing that your object method is doing something with eval{} blocks to catch exceptions and this CGI::Carp is ignoring it, but it could be other things as well. You are much better off getting rid of fatalsToBrowser and just using the error_log instead.

Replies are listed 'Best First'.
Re: Re: Class methods die silently?
by Anonymous Monk on Sep 22, 2003 at 23:47 UTC
    There's nothing in the error log about it. (I'm on pair.com, btw)
      Try it without fatalsToBrowser. If you still have nothing in the error log it means something in your code is supressing the error message. That's about as much help as we can give you unless you post some sample code that shows the problem.
        I tried to post code, but the posting app here started duplicating my text when I previewed. but thanks anyway, maybe i'll put it on my site in an html file or something