Of course, you could solve this problem in the same way you solve it with a relational database, by introducing the Residency object (you called it villages2persons), and then navigating Village->Residency->Person to get at the persons of a village, but that way, you've just replicated the relational model onto the object database - which most likely isn't what was intended.
In reply to Re^3: Is Perl Truly an Object Oriented Language?
by Corion
in thread Is Perl Truly an Object Oriented Language?
by awohld
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |