Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

How to protect Perl code

0 views
Skip to first unread message

Alex Agerholm

unread,
Sep 2, 2002, 2:33:56 PM9/2/02
to beginn...@perl.org, Alex Omø Agerholm
Hi,

Can anyone give me a good way to protect my Perl code.
I am writing a CGI application in Perl that I am going to sell - therefore I
would like to protect my code in such a way that it is not that easy to copy
the code and reuse/resell/distribute it.
Does anyone have a good sugestion howto do this ?

Regards
Alex

Fliptop

unread,
Sep 2, 2002, 5:09:00 PM9/2/02
to Alex Agerholm, beginn...@perl.org
On Mon, 2 Sep 2002 at 20:33, Alex Agerholm opined:

AA:Can anyone give me a good way to protect my Perl code. I am writing a
AA:CGI application in Perl that I am going to sell - therefore I would
AA:like to protect my code in such a way that it is not that easy to copy
AA:the code and reuse/resell/distribute it. Does anyone have a good
AA:sugestion howto do this ?

a google search on 'hiding perl code' gave me almost 25,000 hits. this
topic has been discussed to death on several perl lists.


Aaron Baugher

unread,
Sep 2, 2002, 5:41:28 PM9/2/02
to
al...@fam-agerholm.dk (Alex Agerholm) writes:

It can't be done. You can obfuscate your code, but you can't prevent
someone from reading it. Perl is a scripting language. At some
point, your script has to be read by the perl interpreter, and if a
user's perl can read it, so can he if he really wants to.

There are compilers which turn a perl script into some sort of binary
code, which would make it somewhat more difficult (but not impossible)
to read, but that does nothing at all to prevent copying.


--
Aaron
abau...@esc.pike.il.us

0 new messages