I want to add a simple GUI to a program in Perl, but I don't know how. I seem to have trouble trying to find answer in man pages or in perldoc. Also, some short sample code wouldn't be amiss.
When you install the Tk module, it comes with a sample program called 'widget'. Look at the source code for that to get started. Basically you need to create a MainWindow, add stuff to it, and call MainLoop.