Beefy Boxes and Bandwidth Generously Provided by pair Networks
Your skill will accomplish
what the force of many cannot

Re: Re: Re: Coding Perl With Style

by wog (Curate)
on Nov 27, 2001 at 07:21 UTC ( #127715=note: print w/replies, xml ) Need Help??

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.)

Log In?

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: note [id://127715]
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others having an uproarious good time at the Monastery: (3)
As of 2022-12-08 03:28 GMT
Find Nodes?
    Voting Booth?

    No recent polls found