Skip to content

Commit

Permalink
Add the DWTFYWWI license
Browse files Browse the repository at this point in the history
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
avar committed May 1, 2010
1 parent 3068c2f commit e985904
Show file tree
Hide file tree
Showing 3 changed files with 66 additions and 0 deletions.
3 changes: 3 additions & 0 deletions 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)
Expand Down
53 changes: 53 additions & 0 deletions 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.
10 changes: 10 additions & 0 deletions 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!");

0 comments on commit e985904

Please sign in to comment.