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

Greetings fellow monks,

I am converting perl scripts into executables using PAR but would like this facility to have a nice GUI interface.

Perlcc doesn’t work. TinyPerl and other trimmed down versions of Perl are not what I want. Although I know of the existance of Perl2exe and PerlApp I don't want to use those either.
Instead I have decided to use the PAR - pp - perl packager:
a) its non-proprietary
b) can bundle multiple *.par files with a parl.exe (saves space (it is parl not perl)).
AutrijusTangs' tutorial mentions the existance of tkpp and gpp (GUI frontends to pp)

Have any fellow monks used either tkpp or gpp?
Which is better, or easiest to use?

For extra information
http://par.perl.org/index.cgi
The PAR tutorial is on this page in full (though it has no example on how to use tkpp or gpp.

  • Comment on Which PAR gui interface (convert perl.pl to perl.exe)

Replies are listed 'Best First'.
Re: Which PAR gui interface (convert perl.pl to perl.exe)
by PodMaster (Abbot) on Jul 05, 2004 at 16:05 UTC
    I used tkpp once (never heard of gpp). It could be easier to use. pp is easiest to use :)

    MJD says "you can't just make shit up and expect the computer to know what you mean, retardo!"
    I run a Win32 PPM repository for perl 5.6.x and 5.8.x -- I take requests (README).
    ** The third rule of perl club is a statement of fact: pod is sexy.

      Hi PodMaster

      Can you remember how you got the tkpp to work.
      I am hoping to use it for the non Perl muggles amoung us, They seem to like nice GUI's

      gpp is mentioned in the tutorial and again in the README
      http://cpan.uwinnipeg.ca/htdocs/PAR/Changes.html
      New Features
      * New version of "gpp"; see contrib/gui_pp/gpp_readme.txt for details.

      But with out any help on how to get it working.

        Can you remember how you got the tkpp to work.
        Huh? I typed 'tkpp' from my start menu, or from the commandline, or doubleclicking 'tkpp.bat', or executing perl -S tkpp

        Then the GUI pops up and I get to clicking :/

        MJD says "you can't just make shit up and expect the computer to know what you mean, retardo!"
        I run a Win32 PPM repository for perl 5.6.x and 5.8.x -- I take requests (README).
        ** The third rule of perl club is a statement of fact: pod is sexy.

Re: Which PAR gui interface (convert perl.pl to perl.exe)
by aquarium (Curate) on Jul 05, 2004 at 23:24 UTC
    i've used tk module (which comes with most perls nowadays) and packaged into executable with par. then u have to change the "mode" of the executable to windows, rather than a console app. the only drawback is that the packaged exe, as it starts up, shows a console window for a second, as it copies something to the tmp directory. the end result was good though, and tk is a well known gui toolkit (for use with or without perl) that is worth learning.
      Thanks all

      I have found that I was mising a few files which I have found at the link below
      http://www.cpan.org/authors/id/A/AU/AUTRIJUS/

      Can now have perl.exe's which are independant and can be given to people who like to click on iconised buttons.

      No doubt I will be back to play with this new toy some more.