line |
stmt |
bran |
cond |
sub |
pod |
time |
code |
1
|
10
|
|
|
10
|
|
4343
|
use strict; |
|
10
|
|
|
|
|
19
|
|
|
10
|
|
|
|
|
219
|
|
2
|
10
|
|
|
10
|
|
37
|
use warnings; |
|
10
|
|
|
|
|
20
|
|
|
10
|
|
|
|
|
314
|
|
3
|
|
|
|
|
|
|
$Software::License::Artistic_2_0::VERSION = '0.104002'; |
4
|
|
|
|
|
|
|
use parent 'Software::License'; |
5
|
10
|
|
|
10
|
|
36
|
# ABSTRACT: The Artistic License 2.0 |
|
10
|
|
|
|
|
17
|
|
|
10
|
|
|
|
|
35
|
|
6
|
|
|
|
|
|
|
|
7
|
|
|
|
|
|
|
|
8
|
23
|
|
|
23
|
1
|
151
|
1; |
9
|
0
|
|
|
0
|
1
|
0
|
|
10
|
43
|
|
|
43
|
1
|
109
|
=pod |
11
|
42
|
|
|
42
|
1
|
80
|
|
12
|
43
|
|
|
43
|
1
|
95
|
=encoding UTF-8 |
13
|
|
|
|
|
|
|
|
14
|
|
|
|
|
|
|
=head1 NAME |
15
|
|
|
|
|
|
|
|
16
|
|
|
|
|
|
|
Software::License::Artistic_2_0 - The Artistic License 2.0 |
17
|
|
|
|
|
|
|
|
18
|
|
|
|
|
|
|
=head1 VERSION |
19
|
|
|
|
|
|
|
|
20
|
|
|
|
|
|
|
version 0.104002 |
21
|
|
|
|
|
|
|
|
22
|
|
|
|
|
|
|
=head1 PERL VERSION |
23
|
|
|
|
|
|
|
|
24
|
|
|
|
|
|
|
This module is part of CPAN toolchain, or is treated as such. As such, it |
25
|
|
|
|
|
|
|
follows the agreement of the Perl Toolchain Gang to require no newer version of |
26
|
|
|
|
|
|
|
perl than v5.8.1. This version may change by agreement of the Toolchain Gang, |
27
|
|
|
|
|
|
|
but for now is governed by the L<Lancaster |
28
|
|
|
|
|
|
|
Consensus|https://github.com/Perl-Toolchain-Gang/toolchain-site/blob/master/lancaster-consensus.md> |
29
|
|
|
|
|
|
|
of 2013. |
30
|
|
|
|
|
|
|
|
31
|
|
|
|
|
|
|
=head1 AUTHOR |
32
|
|
|
|
|
|
|
|
33
|
|
|
|
|
|
|
Ricardo Signes <rjbs@semiotic.systems> |
34
|
|
|
|
|
|
|
|
35
|
|
|
|
|
|
|
=head1 COPYRIGHT AND LICENSE |
36
|
|
|
|
|
|
|
|
37
|
|
|
|
|
|
|
This software is copyright (c) 2022 by Ricardo Signes. |
38
|
|
|
|
|
|
|
|
39
|
|
|
|
|
|
|
This is free software; you can redistribute it and/or modify it under |
40
|
|
|
|
|
|
|
the same terms as the Perl 5 programming language system itself. |
41
|
|
|
|
|
|
|
|
42
|
|
|
|
|
|
|
=cut |
43
|
|
|
|
|
|
|
|
44
|
|
|
|
|
|
|
__LICENSE__ |
45
|
|
|
|
|
|
|
The Artistic License 2.0 |
46
|
|
|
|
|
|
|
|
47
|
|
|
|
|
|
|
Copyright (c) 2000-2006, The Perl Foundation. |
48
|
|
|
|
|
|
|
|
49
|
|
|
|
|
|
|
Everyone is permitted to copy and distribute verbatim copies |
50
|
|
|
|
|
|
|
of this license document, but changing it is not allowed. |
51
|
|
|
|
|
|
|
|
52
|
|
|
|
|
|
|
Preamble |
53
|
|
|
|
|
|
|
|
54
|
|
|
|
|
|
|
This license establishes the terms under which a given free software |
55
|
|
|
|
|
|
|
Package may be copied, modified, distributed, and/or redistributed. |
56
|
|
|
|
|
|
|
The intent is that the Copyright Holder maintains some artistic |
57
|
|
|
|
|
|
|
control over the development of that Package while still keeping the |
58
|
|
|
|
|
|
|
Package available as open source and free software. |
59
|
|
|
|
|
|
|
|
60
|
|
|
|
|
|
|
You are always permitted to make arrangements wholly outside of this |
61
|
|
|
|
|
|
|
license directly with the Copyright Holder of a given Package. If the |
62
|
|
|
|
|
|
|
terms of this license do not permit the full use that you propose to |
63
|
|
|
|
|
|
|
make of the Package, you should contact the Copyright Holder and seek |
64
|
|
|
|
|
|
|
a different licensing arrangement. |
65
|
|
|
|
|
|
|
|
66
|
|
|
|
|
|
|
Definitions |
67
|
|
|
|
|
|
|
|
68
|
|
|
|
|
|
|
"Copyright Holder" means the individual(s) or organization(s) |
69
|
|
|
|
|
|
|
named in the copyright notice for the entire Package. |
70
|
|
|
|
|
|
|
|
71
|
|
|
|
|
|
|
"Contributor" means any party that has contributed code or other |
72
|
|
|
|
|
|
|
material to the Package, in accordance with the Copyright Holder's |
73
|
|
|
|
|
|
|
procedures. |
74
|
|
|
|
|
|
|
|
75
|
|
|
|
|
|
|
"You" and "your" means any person who would like to copy, |
76
|
|
|
|
|
|
|
distribute, or modify the Package. |
77
|
|
|
|
|
|
|
|
78
|
|
|
|
|
|
|
"Package" means the collection of files distributed by the |
79
|
|
|
|
|
|
|
Copyright Holder, and derivatives of that collection and/or of |
80
|
|
|
|
|
|
|
those files. A given Package may consist of either the Standard |
81
|
|
|
|
|
|
|
Version, or a Modified Version. |
82
|
|
|
|
|
|
|
|
83
|
|
|
|
|
|
|
"Distribute" means providing a copy of the Package or making it |
84
|
|
|
|
|
|
|
accessible to anyone else, or in the case of a company or |
85
|
|
|
|
|
|
|
organization, to others outside of your company or organization. |
86
|
|
|
|
|
|
|
|
87
|
|
|
|
|
|
|
"Distributor Fee" means any fee that you charge for Distributing |
88
|
|
|
|
|
|
|
this Package or providing support for this Package to another |
89
|
|
|
|
|
|
|
party. It does not mean licensing fees. |
90
|
|
|
|
|
|
|
|
91
|
|
|
|
|
|
|
"Standard Version" refers to the Package if it has not been |
92
|
|
|
|
|
|
|
modified, or has been modified only in ways explicitly requested |
93
|
|
|
|
|
|
|
by the Copyright Holder. |
94
|
|
|
|
|
|
|
|
95
|
|
|
|
|
|
|
"Modified Version" means the Package, if it has been changed, and |
96
|
|
|
|
|
|
|
such changes were not explicitly requested by the Copyright |
97
|
|
|
|
|
|
|
Holder. |
98
|
|
|
|
|
|
|
|
99
|
|
|
|
|
|
|
"Original License" means this Artistic License as Distributed with |
100
|
|
|
|
|
|
|
the Standard Version of the Package, in its current version or as |
101
|
|
|
|
|
|
|
it may be modified by The Perl Foundation in the future. |
102
|
|
|
|
|
|
|
|
103
|
|
|
|
|
|
|
"Source" form means the source code, documentation source, and |
104
|
|
|
|
|
|
|
configuration files for the Package. |
105
|
|
|
|
|
|
|
|
106
|
|
|
|
|
|
|
"Compiled" form means the compiled bytecode, object code, binary, |
107
|
|
|
|
|
|
|
or any other form resulting from mechanical transformation or |
108
|
|
|
|
|
|
|
translation of the Source form. |
109
|
|
|
|
|
|
|
|
110
|
|
|
|
|
|
|
|
111
|
|
|
|
|
|
|
Permission for Use and Modification Without Distribution |
112
|
|
|
|
|
|
|
|
113
|
|
|
|
|
|
|
(1) You are permitted to use the Standard Version and create and use |
114
|
|
|
|
|
|
|
Modified Versions for any purpose without restriction, provided that |
115
|
|
|
|
|
|
|
you do not Distribute the Modified Version. |
116
|
|
|
|
|
|
|
|
117
|
|
|
|
|
|
|
|
118
|
|
|
|
|
|
|
Permissions for Redistribution of the Standard Version |
119
|
|
|
|
|
|
|
|
120
|
|
|
|
|
|
|
(2) You may Distribute verbatim copies of the Source form of the |
121
|
|
|
|
|
|
|
Standard Version of this Package in any medium without restriction, |
122
|
|
|
|
|
|
|
either gratis or for a Distributor Fee, provided that you duplicate |
123
|
|
|
|
|
|
|
all of the original copyright notices and associated disclaimers. At |
124
|
|
|
|
|
|
|
your discretion, such verbatim copies may or may not include a |
125
|
|
|
|
|
|
|
Compiled form of the Package. |
126
|
|
|
|
|
|
|
|
127
|
|
|
|
|
|
|
(3) You may apply any bug fixes, portability changes, and other |
128
|
|
|
|
|
|
|
modifications made available from the Copyright Holder. The resulting |
129
|
|
|
|
|
|
|
Package will still be considered the Standard Version, and as such |
130
|
|
|
|
|
|
|
will be subject to the Original License. |
131
|
|
|
|
|
|
|
|
132
|
|
|
|
|
|
|
|
133
|
|
|
|
|
|
|
Distribution of Modified Versions of the Package as Source |
134
|
|
|
|
|
|
|
|
135
|
|
|
|
|
|
|
(4) You may Distribute your Modified Version as Source (either gratis |
136
|
|
|
|
|
|
|
or for a Distributor Fee, and with or without a Compiled form of the |
137
|
|
|
|
|
|
|
Modified Version) provided that you clearly document how it differs |
138
|
|
|
|
|
|
|
from the Standard Version, including, but not limited to, documenting |
139
|
|
|
|
|
|
|
any non-standard features, executables, or modules, and provided that |
140
|
|
|
|
|
|
|
you do at least ONE of the following: |
141
|
|
|
|
|
|
|
|
142
|
|
|
|
|
|
|
(a) make the Modified Version available to the Copyright Holder |
143
|
|
|
|
|
|
|
of the Standard Version, under the Original License, so that the |
144
|
|
|
|
|
|
|
Copyright Holder may include your modifications in the Standard |
145
|
|
|
|
|
|
|
Version. |
146
|
|
|
|
|
|
|
|
147
|
|
|
|
|
|
|
(b) ensure that installation of your Modified Version does not |
148
|
|
|
|
|
|
|
prevent the user installing or running the Standard Version. In |
149
|
|
|
|
|
|
|
addition, the Modified Version must bear a name that is different |
150
|
|
|
|
|
|
|
from the name of the Standard Version. |
151
|
|
|
|
|
|
|
|
152
|
|
|
|
|
|
|
(c) allow anyone who receives a copy of the Modified Version to |
153
|
|
|
|
|
|
|
make the Source form of the Modified Version available to others |
154
|
|
|
|
|
|
|
under |
155
|
|
|
|
|
|
|
|
156
|
|
|
|
|
|
|
(i) the Original License or |
157
|
|
|
|
|
|
|
|
158
|
|
|
|
|
|
|
(ii) a license that permits the licensee to freely copy, |
159
|
|
|
|
|
|
|
modify and redistribute the Modified Version using the same |
160
|
|
|
|
|
|
|
licensing terms that apply to the copy that the licensee |
161
|
|
|
|
|
|
|
received, and requires that the Source form of the Modified |
162
|
|
|
|
|
|
|
Version, and of any works derived from it, be made freely |
163
|
|
|
|
|
|
|
available in that license fees are prohibited but Distributor |
164
|
|
|
|
|
|
|
Fees are allowed. |
165
|
|
|
|
|
|
|
|
166
|
|
|
|
|
|
|
|
167
|
|
|
|
|
|
|
Distribution of Compiled Forms of the Standard Version |
168
|
|
|
|
|
|
|
or Modified Versions without the Source |
169
|
|
|
|
|
|
|
|
170
|
|
|
|
|
|
|
(5) You may Distribute Compiled forms of the Standard Version without |
171
|
|
|
|
|
|
|
the Source, provided that you include complete instructions on how to |
172
|
|
|
|
|
|
|
get the Source of the Standard Version. Such instructions must be |
173
|
|
|
|
|
|
|
valid at the time of your distribution. If these instructions, at any |
174
|
|
|
|
|
|
|
time while you are carrying out such distribution, become invalid, you |
175
|
|
|
|
|
|
|
must provide new instructions on demand or cease further distribution. |
176
|
|
|
|
|
|
|
If you provide valid instructions or cease distribution within thirty |
177
|
|
|
|
|
|
|
days after you become aware that the instructions are invalid, then |
178
|
|
|
|
|
|
|
you do not forfeit any of your rights under this license. |
179
|
|
|
|
|
|
|
|
180
|
|
|
|
|
|
|
(6) You may Distribute a Modified Version in Compiled form without |
181
|
|
|
|
|
|
|
the Source, provided that you comply with Section 4 with respect to |
182
|
|
|
|
|
|
|
the Source of the Modified Version. |
183
|
|
|
|
|
|
|
|
184
|
|
|
|
|
|
|
|
185
|
|
|
|
|
|
|
Aggregating or Linking the Package |
186
|
|
|
|
|
|
|
|
187
|
|
|
|
|
|
|
(7) You may aggregate the Package (either the Standard Version or |
188
|
|
|
|
|
|
|
Modified Version) with other packages and Distribute the resulting |
189
|
|
|
|
|
|
|
aggregation provided that you do not charge a licensing fee for the |
190
|
|
|
|
|
|
|
Package. Distributor Fees are permitted, and licensing fees for other |
191
|
|
|
|
|
|
|
components in the aggregation are permitted. The terms of this license |
192
|
|
|
|
|
|
|
apply to the use and Distribution of the Standard or Modified Versions |
193
|
|
|
|
|
|
|
as included in the aggregation. |
194
|
|
|
|
|
|
|
|
195
|
|
|
|
|
|
|
(8) You are permitted to link Modified and Standard Versions with |
196
|
|
|
|
|
|
|
other works, to embed the Package in a larger work of your own, or to |
197
|
|
|
|
|
|
|
build stand-alone binary or bytecode versions of applications that |
198
|
|
|
|
|
|
|
include the Package, and Distribute the result without restriction, |
199
|
|
|
|
|
|
|
provided the result does not expose a direct interface to the Package. |
200
|
|
|
|
|
|
|
|
201
|
|
|
|
|
|
|
|
202
|
|
|
|
|
|
|
Items That are Not Considered Part of a Modified Version |
203
|
|
|
|
|
|
|
|
204
|
|
|
|
|
|
|
(9) Works (including, but not limited to, modules and scripts) that |
205
|
|
|
|
|
|
|
merely extend or make use of the Package, do not, by themselves, cause |
206
|
|
|
|
|
|
|
the Package to be a Modified Version. In addition, such works are not |
207
|
|
|
|
|
|
|
considered parts of the Package itself, and are not subject to the |
208
|
|
|
|
|
|
|
terms of this license. |
209
|
|
|
|
|
|
|
|
210
|
|
|
|
|
|
|
|
211
|
|
|
|
|
|
|
General Provisions |
212
|
|
|
|
|
|
|
|
213
|
|
|
|
|
|
|
(10) Any use, modification, and distribution of the Standard or |
214
|
|
|
|
|
|
|
Modified Versions is governed by this Artistic License. By using, |
215
|
|
|
|
|
|
|
modifying or distributing the Package, you accept this license. Do not |
216
|
|
|
|
|
|
|
use, modify, or distribute the Package, if you do not accept this |
217
|
|
|
|
|
|
|
license. |
218
|
|
|
|
|
|
|
|
219
|
|
|
|
|
|
|
(11) If your Modified Version has been derived from a Modified |
220
|
|
|
|
|
|
|
Version made by someone other than you, you are nevertheless required |
221
|
|
|
|
|
|
|
to ensure that your Modified Version complies with the requirements of |
222
|
|
|
|
|
|
|
this license. |
223
|
|
|
|
|
|
|
|
224
|
|
|
|
|
|
|
(12) This license does not grant you the right to use any trademark, |
225
|
|
|
|
|
|
|
service mark, tradename, or logo of the Copyright Holder. |
226
|
|
|
|
|
|
|
|
227
|
|
|
|
|
|
|
(13) This license includes the non-exclusive, worldwide, |
228
|
|
|
|
|
|
|
free-of-charge patent license to make, have made, use, offer to sell, |
229
|
|
|
|
|
|
|
sell, import and otherwise transfer the Package with respect to any |
230
|
|
|
|
|
|
|
patent claims licensable by the Copyright Holder that are necessarily |
231
|
|
|
|
|
|
|
infringed by the Package. If you institute patent litigation |
232
|
|
|
|
|
|
|
(including a cross-claim or counterclaim) against any party alleging |
233
|
|
|
|
|
|
|
that the Package constitutes direct or contributory patent |
234
|
|
|
|
|
|
|
infringement, then this Artistic License to you shall terminate on the |
235
|
|
|
|
|
|
|
date that such litigation is filed. |
236
|
|
|
|
|
|
|
|
237
|
|
|
|
|
|
|
(14) Disclaimer of Warranty: |
238
|
|
|
|
|
|
|
THE PACKAGE IS PROVIDED BY THE COPYRIGHT HOLDER AND CONTRIBUTORS "AS |
239
|
|
|
|
|
|
|
IS" AND WITHOUT ANY EXPRESS OR IMPLIED WARRANTIES. THE IMPLIED |
240
|
|
|
|
|
|
|
WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE, OR |
241
|
|
|
|
|
|
|
NON-INFRINGEMENT ARE DISCLAIMED TO THE EXTENT PERMITTED BY YOUR LOCAL |
242
|
|
|
|
|
|
|
LAW. UNLESS REQUIRED BY LAW, NO COPYRIGHT HOLDER OR CONTRIBUTOR WILL |
243
|
|
|
|
|
|
|
BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, OR CONSEQUENTIAL |
244
|
|
|
|
|
|
|
DAMAGES ARISING IN ANY WAY OUT OF THE USE OF THE PACKAGE, EVEN IF |
245
|
|
|
|
|
|
|
ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. |