Personally I feel it would be cleaner not to tie the hash representing the object (be it parent or child), but rather to an attribute such as $self->{data}, that way it's an attribute that has to be untied rather than the "object" itself.
Just my 2 cents, -gjb-
In reply to Re: Inheritance and objects tied to a database
by gjb
in thread Inheritance and objects tied to a database
by relax99
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |