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!
In reply to Re^2: OO Perl and Tk
by jdtoronto
in thread OO Perl and Tk
by jdtoronto
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |