in reply to Re: Instance data inheritance?
in thread Instance data inheritance?
But then again I'm not really sure whether it would be possible to access instance specific data this way and if so, which would be the "best way(TM)" to do so.package MyClass::Item; our @ISA=qw/MyClass/;
Basically, in a real world example, I'd "simply" like to have the constructor (or some accessory method) of MyClass store some data into the instance objects, and I would like methods called on MyClass::Item objects to depend on that data.
|
|---|