There's more than one way to do things | |
PerlMonks |
Re: Problem when deleting Class::DBI objectsby rhesa (Vicar) |
on Nov 26, 2007 at 15:12 UTC ( [id://652999]=note: print w/replies, xml ) | Need Help?? |
Don't let FOO::Indicators::PPO inherit from FOO::Indicators, but make it a subclass of Foo. Your current structure gives PPO all the columns of Indicators as well, which is not what you expected.
You generally don't want to subclass actual table classes, unless you have a very specific reason to (and I can't even think of any off the top of my head).
In Section
Seekers of Perl Wisdom
|
|