http://qs1969.pair.com?node_id=1048725


in reply to Copyright of posted material

In Berne Convention countries, anything you publish is automatically under your own copyright, unless you've agreed to terms to the contrary. (And publication on the Internet does count as publication.)

For example, when working under a contract, this often assigns the code you write during work hours to your employer. Your country's laws may even make that assumption by default, in the absence of specific copyright clauses in your contract.

PerlMonks, unusually for site of its nature does not have a terms of service document that users need to agree to. Such documents usually include language to the effect that users retain copyright on their contributions, but by posting material, they automatically give the website permission to publish them.

So, unless I've missed something subtle, yes, you own the copyright on code you publish on PerlMonks. (Unless your employer does!)

For a year or so, I've had a note on my home node clarifying the copyright and license for code I publish here.

The usual IANAL disclaimers apply.

package Cow { use Moo; has name => (is => 'lazy', default => sub { 'Mooington' }) } say Cow->new->name

Replies are listed 'Best First'.
Re^2: Copyright of posted material
by McA (Priest) on Aug 09, 2013 at 10:04 UTC

    Hi tobyink, hi corion,

    Thank you for the fast replies.

Re^2: Copyright of posted material
by xdg (Monsignor) on Aug 19, 2013 at 12:59 UTC

    Ditto, except I put it in my sig.

    Code written by xdg and posted on PerlMonks is public domain. It is provided as is with no warranties, express or implied, of any kind. Posted code may not have been tested. Use of posted code is at your own risk.