in reply to Help! cannot solve a "die" ing problem with Class::DBI

Make sure you have the same version of Class::DBI and Ima::DBI installed on both machines. Also, your DIE handler may be messing up exception handling in Class::DBI (or anything else). A universal DIE handler is not safe to use with code that throws and catches exceptions.
  • Comment on Re: Help! cannot solve a "die" ing problem with Class::DBI

Replies are listed 'Best First'.
Re^2: Help! cannot solve a "die" ing problem with Class::DBI
by JohnSSSS (Initiate) on Sep 16, 2004 at 08:33 UTC
    Thanks for your response perrin. I will check our Ima, although I know that the Class::DBI versions are the same. Can you expand on why a universal Die handler is not neccessarily a safe idea please?
      The problem with a DIE handler is that it catches other people's exceptions when they were trying to use eval{} blocks. See this for more.
        ok thanks. Not sure this is the root cause, as
        use base "Class::DBI::__::Base";
        is not in an eval{} block, and this is where the die is propagating from.