|Think about Loose Coupling|
OO circularityby wfsp (Abbot)
|on Jan 23, 2006 at 15:38 UTC ( #524951=perlquestion: print w/replies, xml )||Need Help??|
wfsp has asked for the wisdom of the Perl Monks concerning the following question:
Please excuse my terminology.
I've been working on a cut down mock up of an app.
At it's core is a Tk front end which calls and receives input from other methods/subs.
It's this circularity that has been giving me grief. In particular, I'm passing the Tk object to subs that need it which feels wrong somehow.
How would other monks approach this?
The output is as expected:
Back to Seekers of Perl Wisdom