in reply to opinions on the best way to inherit class data
This is as opposed to "class instance" data, the data that belongs to each singleton class object. For example, if a Dog inherits from Animal, class data for Animal would also be shared by Dog. But class instance data would be distinct individually for Dogs vs Animals, in which case the class methods would be inherited for behavior but not actual data access.
So, actually, I'm puzzled. Did you mean class data, or class instance data?
-- Randal L. Schwartz, Perl hacker
|
|---|