in reply to Re^3: How to hide the Contents in script
in thread How to hide the Contents in script

Hi, May I know the reason behind to hide the script. I would like to bring few points to your note, 1) If you have a some logic which you see that can be patented (or) protected then you can hide it, till you get patent registered. 2) If the script has some algorithm, which you see it perform better than your competitor and afraid that competitor copies your code if you release the script and makes business out of it, then you can do it. 3) If the script has some portion of code, which does some mail operation, then you can protect it so that email id can`t be tampered. So, if your script has regular code then you no need to protect it. Ok, Coming to answer your question. I don`t know how to hide in perl, where as I have done it in xml file contents using encryption and decryption. Hope if you search the same with perl you may get some interesting info in google. Happy coding.
  • Comment on Re^4: How to hide the Contents in script

Replies are listed 'Best First'.
Re^5: How to hide the Contents in script
by CountZero (Bishop) on Dec 26, 2014 at 08:59 UTC
    As I said before, protection is legal stuff, so follow the legal rules and don't rely on "hiding" your code for a poor substitute of that protection.

    If your code is that special it merits a patent (which would be great, but exceedingly rare), then by all means, get a patent before you release it.

    Perl code cannot be reliably hidden, so anyone with a modicum of interest to read your code, will be able to read it and steal your patented code, implement your faster algorithm and tamper with your email ID.

    CountZero

    A program should be light and agile, its subroutines connected like a string of pearls. The spirit and intent of the program should be retained throughout. There should be neither too little or too much, neither needless loops nor useless variables, neither lack of structure nor overwhelming rigidity." - The Tao of Programming, 4.1 - Geoffrey James

    My blog: Imperial Deltronics