Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations TouchToneTommy on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Encrypting Perl Source Code 1

Status
Not open for further replies.

BenRussell

Programmer
Mar 12, 2001
243
US
Is there a way to compile, encrypt, or somehow protect your Perl source code when distributing it to other people? - Ben Russell
- President of Intracor Technologies (
 
Try running "perlcc" to create the C code and then compile the C code to create a native executable.
 
Try "perlcc" to create a machine specific C code and then compile it to get a native executable.
 
Would this only be compatible on the machine it was created on, or once it was compiled would it be compatible with any system (assumings it's the same OS)? - Ben Russell
- President of Intracor Technologies (
 
should be OS specific, not host specific. --Derek

"Fear not the storm for this is where we grow strong."
 
perlcc myfile.cgi Mike
________________________________________________________________

"Experience is the comb that Nature gives us, after we are bald."

Is that a haiku?
I never could get the hang
of writing those things.
 
The output of perlcc is an executable, by default called "a.out".

If you want source code, invoke perlcc with the "-c" command-line argument.

BenRussell, do you have access to the command "man"? Issuing "man perlcc" can tell you a lot about the application. ______________________________________________________________________
Never forget that we are
made of the stuff of stars
 
Ben,

The perlcc tool also requires a C compiler on that machine, do you have one installed? Mike
________________________________________________________________

"Experience is the comb that Nature gives us, after we are bald."

Is that a haiku?
I never could get the hang
of writing those things.
 
I'm not sure if I have one installed or not.

But perlcc will protect the source code right? If I were to want to distribute the script for instance. - Ben Russell
- President of Intracor Technologies (
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top