For OO code, the common tool is "aggregation" (also called "composition" and several other names) which represents a "has a" relationship.
Just to nitpick, composition and aggregation are subtly different; composition indicates a one to one mapping, and aggregation a one to many mapping. The generic term for them is an assosiation, and if that association itself has attributes then one builds an association class to encapsulate them.
In reply to Re: (tye)Re: Objects in PERL
by mugwumpjism
in thread Objects in PERL
by Vuud
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |