vkon: it is completely useless, and counterproducent.

Honest people (the Client$) that could benefit from taking a look at the source code won't be able to do that. But then again, they wouldn't (being honest and all) redistribute your program, either, nor modify it (if you stated that they are not allowed to). The Client$ lose, you lose.

Dishonest people will disassemble it, recover the (even if somewhat obfuscated) source, and do as they please. The bad guy win, you lose.

So, (IMHO of course) there is absolutely no sensible reason to obfuscate your source code, unless if it's so ugly that you are ashamed of it.

WRT good argument for lawyers: a good, explicit copyright license (even a restrictive one) is a better argument for lawyers than source code obfuscation. Something like:

(C) 2008 MassaCorp This is proprietary and confidential information you received from MassaCorp. This program can be run by The Client$ Corp on its computers A, B and C, but all other rights are reserved. Particularly, no copies at all can be done without MassaCorp's explicit, written, authorization, and no modifications can be done to this program by anyone that is not an authorized MassaCorp technician. Any warranties not present in your maintenance contract are null and void.
does everything an obfuscation scheme does protection-wise, and opens the door for litigating (your own clients?! think SCO) if necessary. You can even watermark versions of the source code (randomly change some $h->{a} with $$h{a} and log which changes went to which client) to find bad-faith people.
[]s, HTH, Massa (κς,πμ,πλ)

In reply to Re^3: Alternative for perlcc by massa
in thread Alternative for perlcc by Linux

Title:
Use:  <p> text here (a paragraph) </p>
and:  <code> code here </code>
to format your post, it's "PerlMonks-approved HTML":



  • Posts are HTML formatted. Put <p> </p> tags around your paragraphs. Put <code> </code> tags around your code and data!
  • Titles consisting of a single word are discouraged, and in most cases are disallowed outright.
  • Read Where should I post X? if you're not absolutely sure you're posting in the right place.
  • Please read these before you post! —
  • Posts may use any of the Perl Monks Approved HTML tags:
    a, abbr, b, big, blockquote, br, caption, center, col, colgroup, dd, del, details, div, dl, dt, em, font, h1, h2, h3, h4, h5, h6, hr, i, ins, li, ol, p, pre, readmore, small, span, spoiler, strike, strong, sub, summary, sup, table, tbody, td, tfoot, th, thead, tr, tt, u, ul, wbr
  • You may need to use entities for some characters, as follows. (Exception: Within code tags, you can put the characters literally.)
            For:     Use:
    & &amp;
    < &lt;
    > &gt;
    [ &#91;
    ] &#93;
  • Link using PerlMonks shortcuts! What shortcuts can I use for linking?
  • See Writeup Formatting Tips and other pages linked from there for more info.