in reply to Re^6: Question about __PACKAGE__
in thread Question about __PACKAGE__

I can change class Item to inherit from DBIx::Class::Core instead of DBIx::Class

Why would you do that?

In your previous post, you showed that you weren't inheriting from DBIx::Class, so why do you say "instead"?

Replies are listed 'Best First'.
Re^8: Question about __PACKAGE__
by sman (Beadle) on Jan 23, 2010 at 02:27 UTC
    I have this assertion because seems the following line's function is to add additional base classes to the child class when child class is loaded. So I guess if I declared this inheritance relationship using 'extends' in the beginning, then I do not need to load it using this line. Am I right?
    _PACKAGE__->load_components( "InflateColumn::DateTime", "Core" );
      That sounds like a question. It definitely does not answer the question. You've been expressing so much doubt about doing it, but you can't even give a reason for doing it in the first place, so don't do it.