I was just thinking during my travel in bus the difference between Java and Perl in terms of distribution of code. When a company sells Java code/software, they typically distribute binaries packed in jars. And their code cannot be viewed unless it is an open source code. I mean they can hide their code in machine code.

My question is how is Perl distributed? If some one writes Perl code for money how should he deploy it, should he give all the code to the customer? I mean the scripts and modules? But what stops them from reselling it or extending it themselves? I wonder if this has something to do with the license of the software which states that any one can freely distribute it and extend it.

Is this the so called obfuscation used for? I know that its not a respectable or decent option but just a random meditation.

20070621 Janitored by Corion: Added formatting, code tags, as per Writeup Formatting Tips


In reply to How is Perl code distrubuted? by perllove

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.