in reply to Re: inheriting from Data::Table
in thread inheriting from Data::Table

Thanks for responding. The reason for the extra level of inheritance (Data::Table <- MyTable <- TableA): I'll have many of these TableA-type classes and then if I wanted to add any extra functionality, I could add it in MyTable. Also, I figured that any complexity involved with inheriting can be tucked away inside MyTable. Any other thoughts?

thanks, Michael

Replies are listed 'Best First'.
Re^3: inheriting from Data::Table
by glasswalk3r (Friar) on Mar 17, 2012 at 17:36 UTC

    Create an instance of Data::Table inside a Moose class. If you think this would be the cause for multiple inheritance (which is really not a good thing) them look at the Moose::Role.

    It might look as a waste of time in the beginning having to learn a new OO system, but you will see that you'll write better code in less time shortly.

    Alceu Rodrigues de Freitas Junior
    ---------------------------------
    "You have enemies? Good. That means you've stood up for something, sometime in your life." - Sir Winston Churchill