line |
stmt |
bran |
cond |
sub |
pod |
time |
code |
1
|
12
|
|
|
12
|
|
4997
|
use strict; |
|
12
|
|
|
|
|
30
|
|
|
12
|
|
|
|
|
278
|
|
2
|
12
|
|
|
12
|
|
46
|
use warnings; |
|
12
|
|
|
|
|
18
|
|
|
12
|
|
|
|
|
434
|
|
3
|
|
|
|
|
|
|
$Software::License::Artistic_1_0::VERSION = '0.104002'; |
4
|
|
|
|
|
|
|
use parent 'Software::License'; |
5
|
12
|
|
|
12
|
|
59
|
# ABSTRACT: The Artistic License |
|
12
|
|
|
|
|
26
|
|
|
12
|
|
|
|
|
138
|
|
6
|
|
|
|
|
|
|
|
7
|
|
|
|
|
|
|
#pod =head1 OPTIONS |
8
|
|
|
|
|
|
|
#pod |
9
|
|
|
|
|
|
|
#pod The Artistic License 1.0 has a sometimes-omitted "aggregation clause" which |
10
|
|
|
|
|
|
|
#pod reads: |
11
|
|
|
|
|
|
|
#pod |
12
|
|
|
|
|
|
|
#pod 8. The name of the Copyright Holder may not be used to endorse or promote |
13
|
|
|
|
|
|
|
#pod products derived from this software without specific prior written |
14
|
|
|
|
|
|
|
#pod permission. |
15
|
|
|
|
|
|
|
#pod |
16
|
|
|
|
|
|
|
#pod By default, this clause will be included. To disable it, include the following |
17
|
|
|
|
|
|
|
#pod pair when instantiating the license: |
18
|
|
|
|
|
|
|
#pod |
19
|
|
|
|
|
|
|
#pod aggregation_clause => 0 |
20
|
|
|
|
|
|
|
#pod |
21
|
|
|
|
|
|
|
#pod =head1 METHODS |
22
|
|
|
|
|
|
|
#pod |
23
|
|
|
|
|
|
|
#pod =head2 aggregation_clause |
24
|
|
|
|
|
|
|
#pod |
25
|
|
|
|
|
|
|
#pod This method returns whether the aggregation clause is allowed on this instance. |
26
|
|
|
|
|
|
|
#pod By default this method returns true on instances and dies on the class. |
27
|
|
|
|
|
|
|
#pod |
28
|
|
|
|
|
|
|
#pod =cut |
29
|
|
|
|
|
|
|
|
30
|
|
|
|
|
|
|
exists $_[0]->{aggregation_clause} ? $_[0]->{aggregation_clause} : 1 |
31
|
|
|
|
|
|
|
} |
32
|
9
|
50
|
|
9
|
1
|
5069
|
|
33
|
|
|
|
|
|
|
|
34
|
|
|
|
|
|
|
my ($self) = @_; |
35
|
0
|
|
|
0
|
1
|
0
|
|
36
|
|
|
|
|
|
|
my $name = 'The Artistic License 1.0'; |
37
|
|
|
|
|
|
|
if (ref $self and not $self->aggregation_clause) { |
38
|
27
|
|
|
27
|
1
|
257
|
$name .= ' without Aggregation Clause'; |
39
|
|
|
|
|
|
|
} |
40
|
27
|
|
|
|
|
43
|
|
41
|
27
|
50
|
66
|
|
|
91
|
return $name; |
42
|
0
|
|
|
|
|
0
|
} |
43
|
|
|
|
|
|
|
|
44
|
|
|
|
|
|
|
|
45
|
27
|
|
|
|
|
73
|
1; |
46
|
|
|
|
|
|
|
|
47
|
|
|
|
|
|
|
=pod |
48
|
43
|
|
|
43
|
1
|
114
|
|
49
|
42
|
|
|
42
|
1
|
85
|
=encoding UTF-8 |
50
|
43
|
|
|
43
|
1
|
90
|
|
51
|
|
|
|
|
|
|
=head1 NAME |
52
|
|
|
|
|
|
|
|
53
|
|
|
|
|
|
|
Software::License::Artistic_1_0 - The Artistic License |
54
|
|
|
|
|
|
|
|
55
|
|
|
|
|
|
|
=head1 VERSION |
56
|
|
|
|
|
|
|
|
57
|
|
|
|
|
|
|
version 0.104002 |
58
|
|
|
|
|
|
|
|
59
|
|
|
|
|
|
|
=head1 PERL VERSION |
60
|
|
|
|
|
|
|
|
61
|
|
|
|
|
|
|
This module is part of CPAN toolchain, or is treated as such. As such, it |
62
|
|
|
|
|
|
|
follows the agreement of the Perl Toolchain Gang to require no newer version of |
63
|
|
|
|
|
|
|
perl than v5.8.1. This version may change by agreement of the Toolchain Gang, |
64
|
|
|
|
|
|
|
but for now is governed by the L<Lancaster |
65
|
|
|
|
|
|
|
Consensus|https://github.com/Perl-Toolchain-Gang/toolchain-site/blob/master/lancaster-consensus.md> |
66
|
|
|
|
|
|
|
of 2013. |
67
|
|
|
|
|
|
|
|
68
|
|
|
|
|
|
|
=head1 OPTIONS |
69
|
|
|
|
|
|
|
|
70
|
|
|
|
|
|
|
The Artistic License 1.0 has a sometimes-omitted "aggregation clause" which |
71
|
|
|
|
|
|
|
reads: |
72
|
|
|
|
|
|
|
|
73
|
|
|
|
|
|
|
8. The name of the Copyright Holder may not be used to endorse or promote |
74
|
|
|
|
|
|
|
products derived from this software without specific prior written |
75
|
|
|
|
|
|
|
permission. |
76
|
|
|
|
|
|
|
|
77
|
|
|
|
|
|
|
By default, this clause will be included. To disable it, include the following |
78
|
|
|
|
|
|
|
pair when instantiating the license: |
79
|
|
|
|
|
|
|
|
80
|
|
|
|
|
|
|
aggregation_clause => 0 |
81
|
|
|
|
|
|
|
|
82
|
|
|
|
|
|
|
=head1 METHODS |
83
|
|
|
|
|
|
|
|
84
|
|
|
|
|
|
|
=head2 aggregation_clause |
85
|
|
|
|
|
|
|
|
86
|
|
|
|
|
|
|
This method returns whether the aggregation clause is allowed on this instance. |
87
|
|
|
|
|
|
|
By default this method returns true on instances and dies on the class. |
88
|
|
|
|
|
|
|
|
89
|
|
|
|
|
|
|
=head1 AUTHOR |
90
|
|
|
|
|
|
|
|
91
|
|
|
|
|
|
|
Ricardo Signes <rjbs@semiotic.systems> |
92
|
|
|
|
|
|
|
|
93
|
|
|
|
|
|
|
=head1 COPYRIGHT AND LICENSE |
94
|
|
|
|
|
|
|
|
95
|
|
|
|
|
|
|
This software is copyright (c) 2022 by Ricardo Signes. |
96
|
|
|
|
|
|
|
|
97
|
|
|
|
|
|
|
This is free software; you can redistribute it and/or modify it under |
98
|
|
|
|
|
|
|
the same terms as the Perl 5 programming language system itself. |
99
|
|
|
|
|
|
|
|
100
|
|
|
|
|
|
|
=cut |
101
|
|
|
|
|
|
|
|
102
|
|
|
|
|
|
|
__LICENSE__ |
103
|
|
|
|
|
|
|
The Artistic License |
104
|
|
|
|
|
|
|
|
105
|
|
|
|
|
|
|
Preamble |
106
|
|
|
|
|
|
|
|
107
|
|
|
|
|
|
|
The intent of this document is to state the conditions under which a Package |
108
|
|
|
|
|
|
|
may be copied, such that the Copyright Holder maintains some semblance of |
109
|
|
|
|
|
|
|
artistic control over the development of the package, while giving the users of |
110
|
|
|
|
|
|
|
the package the right to use and distribute the Package in a more-or-less |
111
|
|
|
|
|
|
|
customary fashion, plus the right to make reasonable modifications. |
112
|
|
|
|
|
|
|
|
113
|
|
|
|
|
|
|
Definitions: |
114
|
|
|
|
|
|
|
|
115
|
|
|
|
|
|
|
- "Package" refers to the collection of files distributed by the Copyright |
116
|
|
|
|
|
|
|
Holder, and derivatives of that collection of files created through |
117
|
|
|
|
|
|
|
textual modification. |
118
|
|
|
|
|
|
|
- "Standard Version" refers to such a Package if it has not been modified, |
119
|
|
|
|
|
|
|
or has been modified in accordance with the wishes of the Copyright |
120
|
|
|
|
|
|
|
Holder. |
121
|
|
|
|
|
|
|
- "Copyright Holder" is whoever is named in the copyright or copyrights for |
122
|
|
|
|
|
|
|
the package. |
123
|
|
|
|
|
|
|
- "You" is you, if you're thinking about copying or distributing this Package. |
124
|
|
|
|
|
|
|
- "Reasonable copying fee" is whatever you can justify on the basis of media |
125
|
|
|
|
|
|
|
cost, duplication charges, time of people involved, and so on. (You will |
126
|
|
|
|
|
|
|
not be required to justify it to the Copyright Holder, but only to the |
127
|
|
|
|
|
|
|
computing community at large as a market that must bear the fee.) |
128
|
|
|
|
|
|
|
- "Freely Available" means that no fee is charged for the item itself, though |
129
|
|
|
|
|
|
|
there may be fees involved in handling the item. It also means that |
130
|
|
|
|
|
|
|
recipients of the item may redistribute it under the same conditions they |
131
|
|
|
|
|
|
|
received it. |
132
|
|
|
|
|
|
|
|
133
|
|
|
|
|
|
|
1. You may make and give away verbatim copies of the source form of the |
134
|
|
|
|
|
|
|
Standard Version of this Package without restriction, provided that you |
135
|
|
|
|
|
|
|
duplicate all of the original copyright notices and associated disclaimers. |
136
|
|
|
|
|
|
|
|
137
|
|
|
|
|
|
|
2. You may apply bug fixes, portability fixes and other modifications derived |
138
|
|
|
|
|
|
|
from the Public Domain or from the Copyright Holder. A Package modified in such |
139
|
|
|
|
|
|
|
a way shall still be considered the Standard Version. |
140
|
|
|
|
|
|
|
|
141
|
|
|
|
|
|
|
3. You may otherwise modify your copy of this Package in any way, provided that |
142
|
|
|
|
|
|
|
you insert a prominent notice in each changed file stating how and when you |
143
|
|
|
|
|
|
|
changed that file, and provided that you do at least ONE of the following: |
144
|
|
|
|
|
|
|
|
145
|
|
|
|
|
|
|
a) place your modifications in the Public Domain or otherwise make them |
146
|
|
|
|
|
|
|
Freely Available, such as by posting said modifications to Usenet or an |
147
|
|
|
|
|
|
|
equivalent medium, or placing the modifications on a major archive site |
148
|
|
|
|
|
|
|
such as ftp.uu.net, or by allowing the Copyright Holder to include your |
149
|
|
|
|
|
|
|
modifications in the Standard Version of the Package. |
150
|
|
|
|
|
|
|
|
151
|
|
|
|
|
|
|
b) use the modified Package only within your corporation or organization. |
152
|
|
|
|
|
|
|
|
153
|
|
|
|
|
|
|
c) rename any non-standard executables so the names do not conflict with |
154
|
|
|
|
|
|
|
standard executables, which must also be provided, and provide a separate |
155
|
|
|
|
|
|
|
manual page for each non-standard executable that clearly documents how it |
156
|
|
|
|
|
|
|
differs from the Standard Version. |
157
|
|
|
|
|
|
|
|
158
|
|
|
|
|
|
|
d) make other distribution arrangements with the Copyright Holder. |
159
|
|
|
|
|
|
|
|
160
|
|
|
|
|
|
|
4. You may distribute the programs of this Package in object code or executable |
161
|
|
|
|
|
|
|
form, provided that you do at least ONE of the following: |
162
|
|
|
|
|
|
|
|
163
|
|
|
|
|
|
|
a) distribute a Standard Version of the executables and library files, |
164
|
|
|
|
|
|
|
together with instructions (in the manual page or equivalent) on where to |
165
|
|
|
|
|
|
|
get the Standard Version. |
166
|
|
|
|
|
|
|
|
167
|
|
|
|
|
|
|
b) accompany the distribution with the machine-readable source of the Package |
168
|
|
|
|
|
|
|
with your modifications. |
169
|
|
|
|
|
|
|
|
170
|
|
|
|
|
|
|
c) accompany any non-standard executables with their corresponding Standard |
171
|
|
|
|
|
|
|
Version executables, giving the non-standard executables non-standard |
172
|
|
|
|
|
|
|
names, and clearly documenting the differences in manual pages (or |
173
|
|
|
|
|
|
|
equivalent), together with instructions on where to get the Standard |
174
|
|
|
|
|
|
|
Version. |
175
|
|
|
|
|
|
|
|
176
|
|
|
|
|
|
|
d) make other distribution arrangements with the Copyright Holder. |
177
|
|
|
|
|
|
|
|
178
|
|
|
|
|
|
|
5. You may charge a reasonable copying fee for any distribution of this |
179
|
|
|
|
|
|
|
Package. You may charge any fee you choose for support of this Package. You |
180
|
|
|
|
|
|
|
may not charge a fee for this Package itself. However, you may distribute this |
181
|
|
|
|
|
|
|
Package in aggregate with other (possibly commercial) programs as part of a |
182
|
|
|
|
|
|
|
larger (possibly commercial) software distribution provided that you do not |
183
|
|
|
|
|
|
|
advertise this Package as a product of your own. |
184
|
|
|
|
|
|
|
|
185
|
|
|
|
|
|
|
6. The scripts and library files supplied as input to or produced as output |
186
|
|
|
|
|
|
|
from the programs of this Package do not automatically fall under the copyright |
187
|
|
|
|
|
|
|
of this Package, but belong to whomever generated them, and may be sold |
188
|
|
|
|
|
|
|
commercially, and may be aggregated with this Package. |
189
|
|
|
|
|
|
|
|
190
|
|
|
|
|
|
|
7. C or perl subroutines supplied by you and linked into this Package shall not |
191
|
|
|
|
|
|
|
be considered part of this Package. |
192
|
|
|
|
|
|
|
|
193
|
|
|
|
|
|
|
{{ if ($self->aggregation_clause) { $OUT = <<'END_CLAUSE'; |
194
|
|
|
|
|
|
|
8. The name of the Copyright Holder may not be used to endorse or promote |
195
|
|
|
|
|
|
|
products derived from this software without specific prior written permission. |
196
|
|
|
|
|
|
|
|
197
|
|
|
|
|
|
|
END_CLAUSE |
198
|
|
|
|
|
|
|
} else { return '' } |
199
|
|
|
|
|
|
|
}}9. THIS PACKAGE IS PROVIDED "AS IS" AND WITHOUT ANY EXPRESS OR IMPLIED |
200
|
|
|
|
|
|
|
WARRANTIES, INCLUDING, WITHOUT LIMITATION, THE IMPLIED WARRANTIES OF |
201
|
|
|
|
|
|
|
MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. |
202
|
|
|
|
|
|
|
|
203
|
|
|
|
|
|
|
The End |