http://www.perlmonks.org?node_id=290372


in reply to Re^4: Tk question
in thread Tk question

Yes, I think globals are a Bad Thing generally - not So Bad that I don't use them {g}, but it'll only ever be a couple ($dbh and $cgi, generally). I try to only use globals if it makes things more stylish, or efficient, or pretty. In a case like this, where it looks he's trying to make *every widget* global, that's almost definitely a Bad Thing, and is probably contributing to some 'code spaghetti'.

Cheers, Ben.