from the perlcc docs: The code generated in this way is not guaranteed to work. The whole codegen suite (perlcc included) should be considered very experimental. Use for production purposes is strongly discouraged.
You might want to take a look at PAR.
| [reply] |
perlcc is experimental, not supported, and not under active development. My impression is that it is not usable for production purposes.
PAR, which packages the Perl modules, libraries, and interpreter into an executable is a better solution. It does not compile the bytecode but does solve the problem of producing a single file that can be distributed.
| [reply] |
I have tried with PAR(pp) also.
for ex. pp -o a a.pl
pp -o a.exe a.pl
but i can not run the executables ("$ ./a" in linux or "c:/a.exe" in WIN2K)
error messege "bash :./a can not execute binary file" comes in case of linux.
and "file is too big to be fitted in memory" error messege comes in windows.
MUNU
| [reply] |