Send me a copy of your code and I'll tell you if it's worth stealing.
No, okay, are you asking this question seriously? Really? Cross your heart and hope to die?
Alrighty then. Theoretically, you could compile your code AND use a highly restrictive license AND not ever show anybody your work without an NDA. Others here have excellent arguments against these sorts of things, but it is possible. See the following:
If you don't want to do that, then use another language. Perl is NOT for the insecure.
e-mail neshura | [reply] |
There is really no easy way to do it in perl. There are workarounds, but they are probably more trouble than they are worth.
I assume these are scripts you are sending to other people? Two points:
- 1) Use a C executable to stop "source-code" theft. Even that can be
somewhat decoded.
- 2) Why do you think a copyright would not work? If it took months and years, as you say, then it should be very, very unique and
easily identifiable as yours. Sure, someone may steal it and use it, but if you find someone (e.g. a business competitor) doing so,
you can sue them and get them to stop.
Frankly, you are not going to find a lot of support in the Perl community, as perl has a very open (and open-source) philosophy than encourages
sharing your source code, learning from others, and a deep dislike for all things secret and propreitary.
As a final note, you could always at least make it *difficult* for people to
steal and modify your code by obfuscating it. See the
Obfuscated Code section for some bad (or good, depending on how you look
at it) examples.
| [reply] |
I bet you already have the PDK installed? read PDK Documentation on PerlApp. It can bundle(bind?) your stuff for you... you have to purchase a license from activestate if you want to make freestanding applications. | [reply] |
I remember the shoulders you are standing on... | [reply] |
Hey, make sure you encode your script with MD5. It is
really secure and makes a very compact storage record
too. _Nobody_ will be able to get at the code. | [reply] |
Oh, and be sure to securely delete the original from your storage media.
Can't be too safe against people breaking in to steal things...
| [reply] |