How to turn your Perl programs into standalone executables

Andy Harrison aharrison at gmail.com
Wed Jun 23 02:53:50 PDT 2004


On Wed, 23 Jun 2004 02:08:57 -0700 (PDT), Sex Maniac
<lovememek at yahoo.com> wrote:
> 
> Hi just want to ask, if I have a perl program, and I
> want to turn it into standalone executables/binary.
> Question is how ? What programs/packages/ports I must
> use ?
> 
> Usually in windows98, I can use PerlApp to Turn your
> Perl programs into standalone executables (.exe)
> 
> I don't want my users can see the source program in
> .pl
> I want my source program is hidden from user and the
> others administrators. So I need the executable
> file/binary file only.


man perlcc

Note that, regardless of platform, compiling your perl apps to hide
something is a very bad idea.  It is very easy to run it through
/usr/bin/strings and see bits and pieces of an executable file of any
type.  With the proper tools, one could even run a disassembler on it.

-- 
Andy Harrison


More information about the freebsd-questions mailing list