iwlp212 has asked for the wisdom of the Perl Monks concerning the following question:

I am very new to Pearl and in a verly early phase of learning . I want to know if it is possible to use for developing a GUI, if yes please let me know how and it will be great if some examples are shared.

Replies are listed 'Best First'.
Re: Perl for GUI Automation
by tobyink (Canon) on Jan 22, 2013 at 07:50 UTC

    There are various packages for cross-platform GUI development for Perl, including

    I'd probably recommend starting with Wx because it has the most native-looking widgets - that is, when running on Windows it looks like a standard Windows app; when running on Linux it looks like a standard GNOME app; etc. Many of the others can look clunky and/or foreign.

    That said, Wx can be a little tricky to get installed - in my experience Prima and Tk are the easiest to install (at least on Linux). (Though none of them are rocket science.)

    package Cow { use Moo; has name => (is => 'lazy', default => sub { 'Mooington' }) } say Cow->new->name
Re: Perl for GUI Automation
by vinoth.ree (Monsignor) on Jan 22, 2013 at 07:33 UTC

    Are you looking for Perl/Tk?

    Update:


    Have a look into CGI if you are learning Web based UI development!

      CGI.pm for web development in 2013??

      Do you still use pneumatic tubes for inter-office communication too?

      package Cow { use Moo; has name => (is => 'lazy', default => sub { 'Mooington' }) } say Cow->new->name
        Many hospitals use a pneumatic tube system to get developed x-rays from the lab to where they are needed. An x-ray image can contain several 100's of gigabytes of data (hint: the developed image is 18 x 36 inches or larger). The P-Tube is much faster than hand-carrying the the film to the requesting physician.

        Ten years ago we found out that we couldn't send the images over the brand-new state-of-the-art in-house network with any sort of reasonable delivery time (minutes, not hours), and not bring the network to its knees every five or six minutes. Since our central lab processed 50+ terabytes of x-ray data per day, and the P-Tube system has the necessary (slightly colossal) band-width to get an image to the Doctor/Trauma Surgeon before next Michaelmas, it was a win-win with Ancient Technology. Besides, the P-Tubes had been designed into the building (in the 50's) to support moving paper files around the complex, so we were just adding a couple of hundred more 'packets' per day.

        ----
        I Go Back to Sleep, Now.

        OGB

        I am using Apache HTTPD Server with mod_perl for web development.