PDA

View Full Version : Compile perl code ? (binarry or bytecode)


TechCode
11-07-2003, 08:36 AM
Hello folks.

I want to compile my scripts. It doesnt need to be something big, just that users cant change it.

I've tryed perlcc but it prints out a lot of errors ?
Also tryed :

perl -MO=Bytecode ....

But that craches my dos prompt ...

[Using win 98, IndigoPerl : Apache + Perl]

mace
11-21-2003, 01:46 PM
You might try Perl2Exe (http://www.indigostar.com/perl2exe.htm).

jemfinch
12-31-2003, 07:03 AM
Compiling your scripts in no way assures that users can't change the code. Don't bother, you won't accomplish what you want (and what you don't need, though you don't know you don't need it).

Jeremy

CFDave
01-10-2004, 11:40 PM
Jeremy is right...but if you need something decent that will get the job done your best bet would be perlcc or perl2exe.