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

Dear Monks,
I would like to create some graphical applications in perl.Which library is best to use on Windows platform? Where can i get these libraries for Windows platform? What perl modules are required? Please suggest in detail.
Thanks
kamesh

Replies are listed 'Best First'.
Re: Creating Graphical Applications
by gellyfish (Monsignor) on Jan 06, 2005 at 10:35 UTC
Re: Creating Graphical Applications
by erix (Prior) on Jan 06, 2005 at 11:08 UTC

    It is hard to say which is 'best'. I like wxPerl (=Wx), which has native window controls based on wxwidgets. The module has a demo directory with examples.

Re: Creating Graphical Applications
by JYDawg (Novice) on Jan 06, 2005 at 11:11 UTC
    Kamesh, There are quite a number of libs (among them):
    • TK comes with active perl, and is fairly well documented
    • Wxperl looks good and is (also) platform independant.
    • Then QT and GTK have their libs. but for me that's a grey area.
    I guess it's good to start with Tk.
    --- Lead me not into temptation for I can find it myself...
Re: Creating Graphical Applications
by zentara (Cardinal) on Jan 06, 2005 at 13:12 UTC
    If you are a beginner to GUI's , stick with Tk. ActiveState's Perl comes with Tk included, so you won't have to deal with getting extra libraries.

    I'm not really a human, but I play one on earth. flash japh
Re: Creating Graphical Applications
by jplindstrom (Monsignor) on Jan 06, 2005 at 17:34 UTC
    Start by looking at the (GUI) Windows Programming FAQ.

    If you end up going with Win32::GUI, The GUI Loft site is a good place to start (full disclosure: I'm the author of TGL). Subscribe to the win32-gui-users list mentioned.

    I've also started writing a tutorial (which is at some kind of alpha level at the moment, but it may be helpful).

    /J

Re: Creating Graphical Applications
by EdwardG (Vicar) on Jan 06, 2005 at 10:33 UTC
    Please suggest in detail.

    The answer largely depends on what kind of graphical application you want to create.

    Please answer in detail.

     

      I am new to perl GUI programming.I just wanted to play with it.To be more elaborate,it will be a simple apllication.I would like to have one main window which contains some lables and buttons and importantely one progress bar. So you can see that this is a simple application. Performance is not an issue. But as I move on am definetely interested in performance. It is purely Windows platform specific.I hope it is some what clear now..
      thanks
      kamesh
Re: Creating Graphical Applications
by holli (Abbot) on Jan 06, 2005 at 12:10 UTC
    if "graphical" means you want to draw to the screen directly, there is the SDL-Library.

    SDL (Simple DirectMedia Layer) is a cross-platform multimedia library designed to provide low level access to audio, keyboard, mouse, joystick, 3D hardware via OpenGL, and 2D video framebuffer.graphics-library.

    taken from http://www.libsdl.org
    There is a perl-interface available (SDL_perl)  here (win32-build) or here, documentation can be found here.