Web Hosting Talk







View Full Version : Encode Perl Script


qualityhostings
03-01-2010, 01:03 PM
Hi
A quick question, how do we encode a perl script ?

</>

cygnusd
03-01-2010, 01:10 PM
Are you asking about "encoding" as in obfuscating the source code?

qualityhostings
03-01-2010, 01:12 PM
Yes. Do you know any script or site that can do this ?

mattle
03-01-2010, 01:19 PM
There are modules that will either export a script to bytecode, or to C/CC (which could then be compiled). The bytecode, however is transportable between platforms, so if you're distributing this software and are mostly concerned with obfuscation, that might be the way to go. Otherwise, you'd have to compile the C code for every platform you intend to use it on.

ref: http://oreilly.com/catalog/pperl3/chapter/ch18.html#AUTOID-22694