in reply to Re: OO Perl and Tk
in thread OO Perl and Tk
Thanks for the comments. Yes, it also struck me that as Tk is heavily object oriented that what I need to do is wrap each block of UI with my own additional methods so that I reduce the number of globals to basically the handles for the objects. Presently I have a whole lot of other data that gets globalised because I didn't wrap things up properly at the start.
Now all I need to do is go away and understand Singletons!
Thanks!
|
|---|