in reply to Re^2: Inheritance confusion
in thread Inheritance confusion

Hey. It sounds like it is a factory. As such it returns a different object type, not its own. You should be able to rebless this, but you'll have to change your ISA to refelct the actual parent instead of the factory. Maybe you can dynamicaly find out the object you recieves type, then add that to the ISA and rebless yours? This would be a problem if you use your factory to create more than one type of object. I don't think perl supplies a way for each object to store its own class info like some sort of anonymous class....i bet perl6 does though ;)

All information in the post is suspect to error as i'm just guessing here


___________
Eric Hodges