wlan-ui is a very small Linux GUI tool for connecting to wireless networks. It is written in perl, and is a basic example of using perl with Gtk and Glade. There is also some simple process handling (forking off a process, collecting output, killing the process if cancelled). You can find the documentation in the wlan-ui POD documentation. Download the script from the wlan-ui sourceforge page.

Here is a lonely screenshot to give you an idea of what wlan-ui does:

SourceForge.net Logo

The development repository is on the wlan-ui github page.