http://qs321.pair.com?node_id=231132

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

I am using perl2exe because i wanna turn my tk scripts into an exe so my friends can use it but the problem is whenever i use the -gui switch it never works. is there any alternative to perl2exe? or does anybody know something i dont?

Title edit by tye

Replies are listed 'Best First'.
Re: perl2exe
by dree (Monsignor) on Jan 30, 2003 at 00:28 UTC
    Open source alternatives to perl2exe and perlapp are:

    PAR

    App::Packer

    Perlbin

    But out of curiosity, what type of problem do you have with -gui option of perl2exe?
      Sorry for posting this twice, it was accident. But the problem i have is that when i run the exe file it just goes straight to the perl2exe credits screen thing and doesnt even run my program. I know it works because it runs regularly.
        What type of GUI module do you use? There are a lot of GUI packages available in Perl:

        Tk
        Wx
        Gtk
        Qt
        Prima
        Win32::GUI

        You can try yourself with the tksample.pl shipped with perl2exe:

        perl2exe -gui tksample.pl

        At this point you can execute the program and only AFTER you close it the shareware notice appears.
Re: perl2exe
by batkins (Chaplain) on Jan 30, 2003 at 00:17 UTC
    perlapp from activestate is good, but it costs around $200. if you're a student (like me), you can get it for $79. it works fairly well, and i find it to be more reliable that perl2exe.
Re: perl2exe
by Anonymous Monk on Jan 30, 2003 at 01:37 UTC
    ahhhhh, sorry about that i have trouble with new forums like this. I ran the tksample and it worked but when i run my program it doesnt. i use Tk.
Re: perl2exe
by Dr. Mu (Hermit) on Jan 30, 2003 at 03:48 UTC
    The thing about perl2exe is, the free, downloadable version doesn't let you use the -gui option. You have to buy the license to get that function.