Link to home
Create AccountLog in
Avatar of onyourmark
onyourmark

asked on

perlapp

Hello. Activestate Perl has a developer kit that has a function called perlapp. I thought that when this is used (it creates an executable program) the user will not need to have perl installed. Can anyone confirm if this is true?

Thank you.
Avatar of mankowitz
mankowitz
Flag of United States of America image

that is true.

From the docs: The PerlApp utility converts a Perl program into an executable file. The executable can be freestanding (for use on systems where Perl is not installed), or dependent (for use on systems where Perl is installed). Freestanding programs built with PerlApp are larger in size than dependent applications because required Perl modules are included in the executable.

PerlApp is not a compiler. The Perl source code and the contents of embedded modules must be parsed and compiled when the executable is invoked. However, PerlApp makes it easier to distribute Perl scripts, as Perl (or a specific version and combination of Perl modules) does not need to be resident on the target system. PerlApp applications run as fast as the source Perl script.

The applications can also be deployed to systems that either do not have Perl or do not have the correct combination of modules installed. Additionally, PerlApp ensures that your code is always executed by a specific version of Perl, even if the user has a different Perl version already installed. As a side benefit, it can also be used for some degree of source code hiding.
Avatar of onyourmark
onyourmark

ASKER

Thanks. This is a little confusing "The Perl source code and the contents of embedded modules must be parsed and compiled when the executable is invoked."

I wonder what does the compiling if not perl?
ASKER CERTIFIED SOLUTION
Avatar of mankowitz
mankowitz
Flag of United States of America image

Link to home
membership
Create an account to see this answer
Signing up is free. No credit card required.
Create Account