in reply to Re: Re: Coding Perl With Style
in thread Coding Perl With Style
I would personally think you want a "has-a" relationship. "Configuration" info is shared by many (instances of) classes;
it is not something that each of the instances should maintain an independent copy of.
(update: Nor do I think you should have one copy of it be held statically by a base class, of course. I would prefer to leave room to maintaining to independent sets of this data in one application, if need-be.)
|
---|
In Section
Seekers of Perl Wisdom