in reply to (z) SUPER and Class::DBI

What you've got looks OK to me on its own. Perhaps it's something else in your class?

What's in your @ISA array? Is your package declaration right? Is your reference blessed correctly? Can you post more of your module, especially the declarations that make it work like an object?

Replies are listed 'Best First'.
(z) Re^2: SUPER and Class::DBI
by zigdon (Deacon) on Dec 31, 2003 at 13:45 UTC

    Here's the relevatn declarations:

    package My::User; use base 'My::DBI'; Library::User->table('Users'); Library::User->columns(All => qw/UserID Email Password/);
    And that's really the only part that matters? I don't have any custom constructors, so really, CDBI is taking care of the ISA, blessing, etc.

    Thanks for your suggestions!

    -- zigdon