While performing oop with Perl, I was to create a class containing two instances of

David B

New member
another class. How? I'm not talking about inheritance. I don't want my class to be a superset of the other class.

I just need two instances of the other class in mine. In Java, for example, this is easy.

All I find discussed concerns inheritance, which I don't think is what I need.

Thanks.
 
Back
Top