in reply to Error in Inheritance Class

Generally, if you want one class to inherit from another, you should use base. That will significantly simplify setting up the relationship. Putting this:

use base qw( Parent );
in the child class in Joost's example (assuming the parent class is called 'Parent') will take care of that relationship for you.

However, if you need to manage the relationship between a parent and it's children, that's a much more complicated matter. Since your example code isn't doing anything but showing how you are setting up the relationship, it's hard to give you further advice.