Make sure you use Gtk2-Perl, not Gtk-Perl. The latter is deprecated — it is not maintained any longer (the last release was ages ago), and it binds the Gtk+ 1.x libraries, which in turn are also unmaintained. In addition, Gtk-Perl's bindings coverage of Gtk+ 1.x was never even nearly as complete as Gtk2-Perl's coverage of Gtk+ 2.x.
The Tk API is seriously botched in my opinion. Trying to write Tk applications is always a messy affair, full of globals and difficult to modularize and abstract. It's spaghetti code at its finest.
In contrast, Gtk2 is a joy to work with, and allows applications to be written in much cleaner and more maintainable fashion. It is downright fun — once you've grokked various concepts that apply in GUI programming in general, you'll probably find it almost completely intuitive. I love it to pieces.
Makeshifts last the longest.
|