in reply to Re: Is it possible to compile a Perl program into a .exe?
in thread Is it possible to compile a Perl program into a .exe?

Why use PerlCtrl? It creates ActiveX controls. I always use PerlApp, which is the one that converts Perl into EXEs. However, both (and more) are available in the PerlDevKit, which can be found at the following link:

ActiveState Perl Development Kit

As Ralphie states, it does cost money, and you can get a 10 day eval version. However, Perl2Exe also costs money, you just have a 30 day time period (I believe) and you are not allowed to distribute anything made from Perl2Exe until you have payed for it. Both programs are good, both have drawbacks, but when you need to distribute an EXE due to the fact you don't want other people to install Perl to use your tools, they work.

  • Comment on Re: Re: Is it possible to compile a Perl program into a .exe?

Replies are listed 'Best First'.
Re: Re: Re: Is it possible to compile a Perl program into a .exe?
by Flame (Deacon) on Aug 28, 2001 at 19:36 UTC
    Thanks everyone, while it's not the response I hoped for (I was hopeing it was a practical solution to my problem... I can't distribute a program that big... and I would have needed Tk... which seems to have some problems as an exe...)
    I guess all I can do is wait and hope that Perl6 has better compile support... or go learn C/C++/VBasic...

    Thanks again


    "Wierd things happen, get used to it"

    Flame ~ Lead Programmer: GMS
    http://gms.uoe.org
      Can you describe to us a little about your program? Apparently, it must have a GUI, if you think you needed TK. Perhaps you should look at Win32::GUI instead of Tk? Anyways, I have written some apps in PerlTK on Win32, used PerlApp to convert it to EXE and really haven't had any problems with it. The size of the EXE's really aren't *that* big. What would you consider too big?

      I still haven't run into any real problems with Tk and exe's. What problems have you heard? I read up on the threads previously mentioned above and don't see any issues there either.

      In any the case, I just wouldn't rule it out. The principle I follow is to program for the user base you will be distributing too. If the majority of users will not have Perl on their systems, then convert to EXE. If it is for your local company, and not many machines, stick with perl script. Anywhere in between, just think about your decision carefully. :-)

      Good luck.
      Zucan

        The program I was going to write (I wouldn't spend the time on it unless I was sure it would be worthwhile) was going to be a link between an online database (for more info, GMS(Might be down, server is moving)) and a users computer, so that people in a hurry wouldn't need to go through the web-interface.

        I have studied the Tk module enough to think I could make what I needed with it, given some time, but since it would be distributed to people that probably don't have perl...

        The problems with TK were mentioned in perlfaq3 I think.. or it could be something else I read...

        But, what's this Win32::GUI? I've never heard of it.
        (Yes, it's Win32 that the program would need to run on)


        "Wierd things happen, get used to it"

        Flame ~ Lead Programmer: GMS
        http://gms.uoe.org