.pl -> .exe not so obvious ...

T

TBM

Hi,
I've been trying to compile my perl script into an executable for
windows, but it doesn't work. I tried perlcc, PerlBin 0.02 and Tinyperl
2.0b (not updated since 01-05-03), and none is working. Tinyperl can
compile it, but when I launch myscript.exe, it hangs and/or takes 100%
cpu. Of course, I've tested my script by "c:\perl myscript.pl" and it
works ...
Is there any other _free_ programs to compile a pl script in an exe ? I
can't use Perl2exe or PerlApp from ActiveState as they're not free :(

Thank you for any help or clue ;)
 
T

Thomas Kratz

TBM said:
Hi,
I've been trying to compile my perl script into an executable for
windows, but it doesn't work. I tried perlcc, PerlBin 0.02 and Tinyperl
2.0b (not updated since 01-05-03), and none is working. Tinyperl can
compile it, but when I launch myscript.exe, it hangs and/or takes 100%
cpu. Of course, I've tested my script by "c:\perl myscript.pl" and it
works ...
Is there any other _free_ programs to compile a pl script in an exe ? I
can't use Perl2exe or PerlApp from ActiveState as they're not free :(

Thank you for any help or clue ;)

http://par.perl.org

or get the PAR module from CPAN

Thomas
 
H

H. Wade Minter

TBM said:
Hi,
I've been trying to compile my perl script into an executable for
windows, but it doesn't work. I tried perlcc, PerlBin 0.02 and Tinyperl
2.0b (not updated since 01-05-03), and none is working. Tinyperl can
compile it, but when I launch myscript.exe, it hangs and/or takes 100%
cpu. Of course, I've tested my script by "c:\perl myscript.pl" and it
works ...
Is there any other _free_ programs to compile a pl script in an exe ? I
can't use Perl2exe or PerlApp from ActiveState as they're not free :(

Use PAR (http://par.perl.org/) - it's very similar to Perl2EXE and PerlAPP,
but it's both free and Free. Lots of other good things with PAR as well.

I'm using it to bundle a fairly complex Perl/Tk app, and it works great.

--Wade
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

Forum statistics

Threads
473,995
Messages
2,570,228
Members
46,818
Latest member
SapanaCarpetStudio

Latest Threads

Top