I was under the vauge impression (quite possibly from slashdot), that if you used any code that was under gpl, you had to release the *entire* code.

First of all, don't believe everything you read on Slashdot ;-).

I did bring this up in relation to modules in a previous thread. As maverick pointed out, it may depend on how you define 'use'. It's very questionable and I'm still not clear whether or not this would be a violation of the GPL.

As for simply taking code licensed under the GPL, cutting and pasting it into your own code, and not releasing it, that definately is a violation.

Update: Aha! I found something. From the GPL Faq 'If interpreter is released under the GPL...' section:

A consequence is that if you choose to use GPL'd Perl modules or Java classes in your program, you must release the program in a GPL-compatible way, regardless of the license used in the Perl or Java interpreter that the combined Perl or Java program will run on.

That appears to be pretty clear. If you use modules that are only licensed under the GPL, you need to release your program under a GPL-compatible license.


In reply to Re: Re: GNU GPL & Commercial Scripts by cjf
in thread GNU GPL & Commercial Scripts by Koval

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.