Koval has asked for the wisdom of the Perl Monks concerning the following question:

OK, here's a question that I've been trying to deteremine an answer too, but a lot of the pages I've found just go straight over my head. I've attempted to read the GNU GPL FAQ page, but admitedly, it confuses me.

I'm developing a perl script that I might potentially want to have some small little fee on or something. If the script relies on a PERL module that is released under the GNU GPL licence, what aspects come into play?

If I soley just 'use' the module, no overiding of it or anything, is that acceptable?

Must the end user fetch the module themself, or is it acceptable to provide a copy of the module with the script (including a copy of the GNU GPL license)?

Can my script be licenced under the GNU GPL licence even if its sold for a small fee?

Also, what about modules that's copyright are 'This program is free software; you can redistribute it and/or modify it under the same terms as Perl itself.'? Any difference?

Any help from wise monks would be appreciated!

Replies are listed 'Best First'.
Re: GNU GPL & Commercial Scripts
by cjf (Parson) on Apr 14, 2002 at 19:26 UTC

    See Using GPL'd Perl Modules in Commercial Software :)

    Update: To answer a few of your questions within this thread (keeping in mind that I'm not a lawyer)...

    Can my script be licenced under the GNU GPL licence even if its sold for a small fee?

    Yes. The GPL Faq states: "You can charge nothing, a penny, a dollar, or a billion dollars. It's up to you, and the marketplace, so don't complain to us if nobody wants to pay a billion dollars for a copy.". The point of the GPL is to keep software free as in speech, not to prevent people from profiting from it.

    Also, what about modules that's copyright are 'This program is free software; you can redistribute it and/or modify it under the same terms as Perl itself.'? Any difference?

    Perl is dual licensed under the GPL and the Artistic license, if you abide by the GPL you won't run into any problems. If you want to avoid certain responsibilities required by the GPL, you could read up on the Artistic license (but you don't want to do that :).

    If I soley just 'use' the module, no overiding of it or anything, is that acceptable?

    This is the tricky part. As tilly noted in a response in Using GPL'd Perl Modules in Commercial Software 'One of the big grey areas in the GPL is the question of what a "derivative work" is.' This may or may not require you to license your script under the GPL if you're using GPL'd modules.

    So you can charge for your work if it's released under the GPL, but keep in mind it also has to comply with the license, meaning other people could modify it, gives it to friends, or sell it as well. A good approach might be to release it under the GPL and charge for the installation and customization of it.

Re: GNU GPL & Commercial Scripts
by {NULE} (Hermit) on Apr 14, 2002 at 19:48 UTC
Re: GNU GPL & Commercial Scripts
by Anonymous Monk on Apr 14, 2002 at 21:50 UTC
    My opinion as I am not a lawyer:

    Probably the safest way is to not use any modules that are ONLY licensed with GPL...Most modules seem to be under the Perl Artistic AND GPL, so you would "choose" the Artistic one ;-) (Some popular Win32:: ones are exceptions and are only released under GPL)

    I *think* I did read a comment from Larry about this...(perl.com maybe?), and he seemed to favor the view that you could "use" a GPL'd module and not have to release your product under the GPL license...but he wouldn't be the one deciding to sue you, it would be the GPL folks...

    Bottom line seems to be if you use GPL, you need to follow the GPL

Re: GNU GPL & Commercial Scripts
by Dr.Altaica (Scribe) on Apr 15, 2002 at 13:12 UTC
    Fisrt as sayed allready on this thread the spirit of GPL says you should put your code under the GPL.

    This is use(no pun intended) not Modification, Copying or Distribution. The GPL verson 2 does not give you any rights to use the GPLed works(I'm useing my memory from when I read it a long time ago and skiming threw it looking for this. If I'm wronge please correct me). Does You're copyright laws give you the right to use Copyrighted works with out explicit permision?
    |\_/|
    /o o\
    (>_<)
     `-'
    
A reply falls below the community's threshold of quality. You may see it by logging in.