in reply to DBD::LDAP and Class::DBI situation

Two ideas. First, try setting $Class::DBI::Weaken_Is_Available = 0 after loading Class::DBI. Second, is there more than one object with the same UID? Class::DBI will not handle that. You must have truly unique IDs to use Class::DBI.

Replies are listed 'Best First'.
Re^2: DBD::LDAP and Class::DBI situation
by insaniac (Friar) on Apr 07, 2005 at 17:44 UTC
    okay thanks, i will have to try that tomorrow, i'm not at work anymore.

    but to answer your second question:

  • if there's more than one object, they all have unique UID (cuz those are unix logins)
  • it also doesn't work if there's only one object

    to ask a question is a moment of shame
    to remain ignorant is a lifelong shame

Re^2: DBD::LDAP and Class::DBI situation
by insaniac (Friar) on Apr 08, 2005 at 08:17 UTC
    Hi,
    so the Weaken_Is_Available does not change a thing, sadly enough. Thanks anyway ;-)

    Today I've read (in O'reilly's Perl Template Toolkit) about how to debug the Template::Parser and Template::Stash, so maybe I'll discover some more..

    Thanks anyhow..

    to ask a question is a moment of shame
    to remain ignorant is a lifelong shame