forked from Perl-Toolchain-Gang/Software-License
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
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
Showing
3 changed files
with
66 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -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. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -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!"); |