in reply to Inheritance confused
You do not need to keep a reference to the parent, that's what SUPER does for you. In the Lite.pm constructor, drop the parent and in the methods, just
that construct will move up the inheritance tree to find the next chkAccessRight method. This construct$self->SUPER::chkAccessRight
asks the *parent* object to move up it's hierarchy to find the method. Since the parent is the base, there's nowhere to move up to.$self->{Parent}->SUPER::chkAccessRight
-derby
In Section
Seekers of Perl Wisdom