If you want smaller executables use a different language - such as assembler. The problem with creating executables from Perl is that you have to include the "perl runtime" i.e. nearly all of perl itself and there really isn't any way of getting around this.
/J\
| [reply] |
your local perl.exe will always be part of your executable packaged by PAR.
I take it that those 1.5 mb is the net weight, now by adding things like a few modules it needn't grow too much bigger. Best you try it!
Cheers, Sören
| [reply] |
The biggest part of that output file is the perlXX.dll where XX stands for the version. For me that would be the file perl58.dll with 785 KB.
I know that PerlApp has the ability to "compile" scripts without the dll. But then of course the target computer must have the dll installed, but only once. I'm pretty sure that PAR has a similar option.
| [reply] [d/l] |
yup, PAR has it too (from pp docs):
d, --dependent
Reduce the executable size by not including a copy of perl interpreter. Executables
built this way will need a separate perl5x.dll or libperl.so to function correctly.
This option is only available if perl is built as a shared library.
| [reply] |