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

Greetings young and wise ones. Regarding code, documentation, etc posted in this monestary. What are the rules for usage? GPL, Articsic License, ????? Thnk you for your wisdom. Any help is appreciated. I'll sit down now, Pardon the squeeking, it's Ma' Knees.... Aged One

Replies are listed 'Best First'.
Re: A Copyright/License question
by bobf (Monsignor) on Sep 28, 2006 at 18:37 UTC
      Note that code posted by a monk may not be owned by the poster - a cautionary tale. Certainly if you are planning to make money off some non-trivial posted code, I'd clarify the licensing.
Re: A Copyright/License question
by GrandFather (Saint) on Sep 28, 2006 at 19:10 UTC
Re: A Copyright/License question
by Tanktalus (Canon) on Sep 28, 2006 at 18:33 UTC

    Barring anything explicitly stating otherwise, I can't see how code posted here is anything but public domain. True, each person "owns" the copyright to what they post, but I'm not sure anyone expects anything but for their posts to be used - usually in production - by others.

    That said, I wouldn't object to explicitly stating all code posted is assumed to be licensed under the Artistic License unless explicitly stated otherwise.

      Thanks to the Berne Convention the post is automatically considrered copyrighted. To make it public domain the author would have to explicitly state such.

        That's entirely true. However, although IANAL, I do believe that a "reasonable person" rule may apply. If I ask you a question, and you respond, even in writing, a "reasonable person" would assume that I am going to use your response in the context of my question, regardless of copyright.

        Or, if I were to post some code to the Snippets section, a "reasonable person" would assume that I intend for people to use said code. If I did not want people to use it, I would not publish it in such a place.

        As a further example, although I don't own the copyright to anything I read or heard in university, I think a "reasonable person" would infer that I was to use the information gained from those books and lectures in my career. And the same "reasonable person" would probably also infer that perlmonks is much like a school with multiple teachers and students (with a very thick, blurry line overlapping the two).

        Again, IANAL, but if some monk tried to sue me for using their posted code in my own software (personal, public, or proprietary), I would definitely use a "reasonable person" defense.

Re: A Copyright/License question
by Argel (Prior) on Sep 29, 2006 at 00:37 UTC
    When in doubt ask the author. 'Nuff said.
Re: A Copyright/License question
by exussum0 (Vicar) on Sep 28, 2006 at 18:30 UTC
    The usage of the license or usage of licensed code?

    For most license of code, it says in the license text. For how to apply the license, it should state where the license was written. Go there and it should have a HOWTO of sorts.