Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

Add the DWTFYWWI license

It's a humorous public domain license I wrote in 2006, it even has a
frigg'n Wikipedia article. Isn't that notable?
  • Loading branch information...
commit e9859049eb50c7c57bcebabe92e103a35f18ad25 1 parent 3068c2f
@avar authored
Showing with 66 additions and 0 deletions.
  1. +3 −0  Changes
  2. +53 −0 lib/Software/License/DWTFYWWI.pm
  3. +10 −0 t/dwtfywwi.t
View
3  Changes
@@ -1,5 +1,8 @@
Revision history for Software-License
+ Add the DWTFYWWI or the "Do Whatever The Fuck You Want With
+ It" license. A humorous public domain-like license.
+
0.016 2010-05-01
added the None and CC0_1_0 licenses for the far ends of the spectrum
(thanks to Brian Phillips for None)
View
53 lib/Software/License/DWTFYWWI.pm
@@ -0,0 +1,53 @@
+use strict;
+use warnings;
+package Software::License::DWTFYWWI;
+use base 'Software::License';
+
+=head1 NAME
+
+Software::License::DWTFYWWI - The "Do Whatever The Fuck You Want With It" license
+
+=head1 DESCRIPTION
+
+The DWTFYWWI license is a way to effectively place your software into
+the public domain, but in a humorous way.
+
+If you want something with more legal backing you might want to use
+the L<"public domain"-like CC0 license|Software::License::CC0_1_0>
+instead, or maybe L<The MIT (X11) License|Software::License::MIT>.
+
+=head1 AUTHOR
+
+The author of this package and of the DWTFYWWI license itself is
+E<AElig>var ArnfjE<ouml>rE<eth> Bjarmason <avar@cpan.org>
+
+=cut
+
+sub name { q(DWTFYWWI) }
+sub url { q{http://github.com/avar/DWTFYWWI/raw/master/DWTFYWWI} }
+
+sub meta_name { 'unrestricted' }
+
+1;
+__DATA__
+__NOTICE__
+{{$self->holder}} grants everyone permission to do whatever the fuck
+they want with the software, whatever the fuck that may be.
+__LICENSE__
+ DWTFYWWI LICENSE
+ Version 1, January 2006
+
+ Copyright (C) 2006 Ævar Arnfjörð Bjarmason
+
+ Preamble
+
+ The licenses for most software are designed to take away your
+freedom to share and change it. By contrast, the DWTFYWWI or Do
+Whatever The Fuck You Want With It license is intended to guarantee
+your freedom to share and change the software--to make sure the
+software is free for all its users.
+
+ DWTFYWWI LICENSE
+ TERMS AND CONDITIONS FOR COPYING, DISTRIBUTION AND MODIFICATION
+0. The author grants everyone permission to do whatever the fuck they
+want with the software, whatever the fuck that may be.
View
10 t/dwtfywwi.t
@@ -0,0 +1,10 @@
+#!perl
+use strict;
+use warnings;
+use Test::More tests => 4;
+use Software::License::DWTFYWWI;
+
+is(scalar(Software::License::DWTFYWWI->name), "DWTFYWWI", "DWTFYWWI is called DWTFYWWI");
+like(scalar(Software::License::DWTFYWWI->url), qr/github\.com/, "DWTFYWWI is hosted on GitHub");
+is(scalar(Software::License::DWTFYWWI->meta_name), "unrestricted", "DWTFYWWI is unrestricted");
+like(scalar(Software::License::DWTFYWWI->license), qr/whatever the fuck that may be/, "FREEDOM!");
Please sign in to comment.
Something went wrong with that request. Please try again.