Beefy Boxes and Bandwidth Generously Provided by pair Networks
Perl: the Markov chain saw
 
PerlMonks  

Re: How to hide the Contents in script

by CountZero (Bishop)
on Dec 24, 2014 at 07:15 UTC ( [id://1111276]=note: print w/replies, xml ) Need Help??


in reply to How to hide the Contents in script

I dont want others to see the script
Why? Are you ashamed of your code?

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

Replies are listed 'Best First'.
Re^2: How to hide the Contents in script
by DVCHAL (Novice) on Dec 24, 2014 at 08:55 UTC
    Its not about getting Shame about the Code. Just I am concerned that others may take the Credit of my Code.
      This is not a programming problem, but a question of getting legal protection. Hence technical "solutions" will always fall short.

      The only legal way to get and maintain credit for your code is by making it public (and -depending on the jurisdiction- claiming copyright for it; in some countries the act of publishing is already sufficient). You cannot get a copyright on your code unless it is public. Roughly said, if you hide your code but someone manages to find it and publishes it before you then he has the copyright and you have lost it. So your idea of "protecting" your rights will actually have the opposite effect.

      If the code is important enough, you also may want to improve your protection by using an end User Licence Agreement (the (in)famous "EULA"). Speak to a lawyer specializing in these matters. Copyrights, licences, patents, ... are all very complicated legal matters, but there is no way around it. If you want the law to protect you, you have to play according to its rules.

      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
        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.
      So you wrote Perl, the core modules and the cpan modules you used? Aren't you trying to take credit for other peoples code? I wouldn't worry about anyone trying to take credit for whatever it is you have done.
        just point to the FAQ and leave the guy to make his choices, replaying the FAQ is boring

Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: note [id://1111276]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others chilling in the Monastery: (3)
As of 2024-04-19 05:05 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found