in reply to Re: Instance data inheritance?
in thread Instance data inheritance?

Most probably, yes - I'm not really sure for I'm not familiar with the technical acceptation of composition as used here. In some sense, no. In fact I may well access such instance data through methods, and it would be fine for me to have
package MyClass::Item; our @ISA=qw/MyClass/;
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.

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.