line |
stmt |
bran |
cond |
sub |
pod |
time |
code |
1
|
10
|
|
|
10
|
|
5086
|
use strict; |
|
10
|
|
|
|
|
18
|
|
|
10
|
|
|
|
|
217
|
|
2
|
10
|
|
|
10
|
|
41
|
use warnings; |
|
10
|
|
|
|
|
17
|
|
|
10
|
|
|
|
|
350
|
|
3
|
|
|
|
|
|
|
$Software::License::QPL_1_0::VERSION = '0.104002'; |
4
|
|
|
|
|
|
|
use parent 'Software::License'; |
5
|
10
|
|
|
10
|
|
42
|
# ABSTRACT: The Q Public License, Version 1.0 |
|
10
|
|
|
|
|
15
|
|
|
10
|
|
|
|
|
44
|
|
6
|
|
|
|
|
|
|
|
7
|
|
|
|
|
|
|
|
8
|
22
|
|
|
22
|
1
|
92
|
|
9
|
0
|
|
|
0
|
1
|
0
|
1; |
10
|
|
|
|
|
|
|
|
11
|
43
|
|
|
43
|
1
|
100
|
=pod |
12
|
42
|
|
|
42
|
1
|
82
|
|
13
|
43
|
|
|
43
|
1
|
91
|
=encoding UTF-8 |
14
|
|
|
|
|
|
|
|
15
|
|
|
|
|
|
|
=head1 NAME |
16
|
|
|
|
|
|
|
|
17
|
|
|
|
|
|
|
Software::License::QPL_1_0 - The Q Public License, Version 1.0 |
18
|
|
|
|
|
|
|
|
19
|
|
|
|
|
|
|
=head1 VERSION |
20
|
|
|
|
|
|
|
|
21
|
|
|
|
|
|
|
version 0.104002 |
22
|
|
|
|
|
|
|
|
23
|
|
|
|
|
|
|
=head1 PERL VERSION |
24
|
|
|
|
|
|
|
|
25
|
|
|
|
|
|
|
This module is part of CPAN toolchain, or is treated as such. As such, it |
26
|
|
|
|
|
|
|
follows the agreement of the Perl Toolchain Gang to require no newer version of |
27
|
|
|
|
|
|
|
perl than v5.8.1. This version may change by agreement of the Toolchain Gang, |
28
|
|
|
|
|
|
|
but for now is governed by the L<Lancaster |
29
|
|
|
|
|
|
|
Consensus|https://github.com/Perl-Toolchain-Gang/toolchain-site/blob/master/lancaster-consensus.md> |
30
|
|
|
|
|
|
|
of 2013. |
31
|
|
|
|
|
|
|
|
32
|
|
|
|
|
|
|
=head1 AUTHOR |
33
|
|
|
|
|
|
|
|
34
|
|
|
|
|
|
|
Ricardo Signes <rjbs@semiotic.systems> |
35
|
|
|
|
|
|
|
|
36
|
|
|
|
|
|
|
=head1 COPYRIGHT AND LICENSE |
37
|
|
|
|
|
|
|
|
38
|
|
|
|
|
|
|
This software is copyright (c) 2022 by Ricardo Signes. |
39
|
|
|
|
|
|
|
|
40
|
|
|
|
|
|
|
This is free software; you can redistribute it and/or modify it under |
41
|
|
|
|
|
|
|
the same terms as the Perl 5 programming language system itself. |
42
|
|
|
|
|
|
|
|
43
|
|
|
|
|
|
|
=cut |
44
|
|
|
|
|
|
|
|
45
|
|
|
|
|
|
|
__LICENSE__ |
46
|
|
|
|
|
|
|
The Q Public License |
47
|
|
|
|
|
|
|
Version 1.0 |
48
|
|
|
|
|
|
|
|
49
|
|
|
|
|
|
|
Copyright (C) 1999 Trolltech AS, Norway. |
50
|
|
|
|
|
|
|
Everyone is permitted to copy and distribute this license |
51
|
|
|
|
|
|
|
document. |
52
|
|
|
|
|
|
|
|
53
|
|
|
|
|
|
|
The intent of this license is to establish freedom to share and |
54
|
|
|
|
|
|
|
change the software regulated by this license under the open |
55
|
|
|
|
|
|
|
source model. |
56
|
|
|
|
|
|
|
|
57
|
|
|
|
|
|
|
This license applies to any software containing a notice |
58
|
|
|
|
|
|
|
placed by the copyright holder saying that it may be |
59
|
|
|
|
|
|
|
distributed under the terms of the Q Public License version |
60
|
|
|
|
|
|
|
1.0. Such software is herein referred to as the Software. This |
61
|
|
|
|
|
|
|
license covers modification and distribution of the Software, |
62
|
|
|
|
|
|
|
use of third-party application programs based on the |
63
|
|
|
|
|
|
|
Software, and development of free software which uses the |
64
|
|
|
|
|
|
|
Software. |
65
|
|
|
|
|
|
|
|
66
|
|
|
|
|
|
|
Granted Rights |
67
|
|
|
|
|
|
|
|
68
|
|
|
|
|
|
|
1. You are granted the non-exclusive rights set forth in this |
69
|
|
|
|
|
|
|
license provided you agree to and comply with any and all |
70
|
|
|
|
|
|
|
conditions in this license. Whole or partial distribution of the |
71
|
|
|
|
|
|
|
Software, or software items that link with the Software, in |
72
|
|
|
|
|
|
|
any form signifies acceptance of this license. |
73
|
|
|
|
|
|
|
|
74
|
|
|
|
|
|
|
2. You may copy and distribute the Software in unmodified |
75
|
|
|
|
|
|
|
form provided that the entire package, including - but not |
76
|
|
|
|
|
|
|
restricted to - copyright, trademark notices and disclaimers, |
77
|
|
|
|
|
|
|
as released by the initial developer of the Software, is |
78
|
|
|
|
|
|
|
distributed. |
79
|
|
|
|
|
|
|
|
80
|
|
|
|
|
|
|
3. You may make modifications to the Software and |
81
|
|
|
|
|
|
|
distribute your modifications, in a form that is separate from |
82
|
|
|
|
|
|
|
the Software, such as patches. The following restrictions |
83
|
|
|
|
|
|
|
apply to modifications: |
84
|
|
|
|
|
|
|
|
85
|
|
|
|
|
|
|
a. Modifications must not alter or remove any |
86
|
|
|
|
|
|
|
copyright notices in the Software. |
87
|
|
|
|
|
|
|
|
88
|
|
|
|
|
|
|
b. When modifications to the Software are |
89
|
|
|
|
|
|
|
released under this license, a non-exclusive |
90
|
|
|
|
|
|
|
royalty-free right is granted to the initial |
91
|
|
|
|
|
|
|
developer of the Software to distribute your |
92
|
|
|
|
|
|
|
modification in future versions of the Software |
93
|
|
|
|
|
|
|
provided such versions remain available under |
94
|
|
|
|
|
|
|
these terms in addition to any other license(s) |
95
|
|
|
|
|
|
|
of the initial developer. |
96
|
|
|
|
|
|
|
|
97
|
|
|
|
|
|
|
4. You may distribute machine-executable forms of the |
98
|
|
|
|
|
|
|
Software or machine-executable forms of modified versions of |
99
|
|
|
|
|
|
|
the Software, provided that you meet these restrictions: |
100
|
|
|
|
|
|
|
|
101
|
|
|
|
|
|
|
a. You must include this license document in |
102
|
|
|
|
|
|
|
the distribution. |
103
|
|
|
|
|
|
|
|
104
|
|
|
|
|
|
|
b. You must ensure that all recipients of the |
105
|
|
|
|
|
|
|
machine-executable forms are also able to |
106
|
|
|
|
|
|
|
receive the complete machine-readable source |
107
|
|
|
|
|
|
|
code to the distributed Software, including all |
108
|
|
|
|
|
|
|
modifications, without any charge beyond the |
109
|
|
|
|
|
|
|
costs of data transfer, and place prominent |
110
|
|
|
|
|
|
|
notices in the distribution explaining this. |
111
|
|
|
|
|
|
|
|
112
|
|
|
|
|
|
|
c. You must ensure that all modifications |
113
|
|
|
|
|
|
|
included in the machine-executable forms are |
114
|
|
|
|
|
|
|
available under the terms of this license. |
115
|
|
|
|
|
|
|
|
116
|
|
|
|
|
|
|
5. You may use the original or modified versions of the |
117
|
|
|
|
|
|
|
Software to compile, link and run application programs |
118
|
|
|
|
|
|
|
legally developed by you or by others. |
119
|
|
|
|
|
|
|
|
120
|
|
|
|
|
|
|
6. You may develop application programs, reusable |
121
|
|
|
|
|
|
|
components and other software items that link with the |
122
|
|
|
|
|
|
|
original or modified versions of the Software. These items, |
123
|
|
|
|
|
|
|
when distributed, are subject to the following requirements: |
124
|
|
|
|
|
|
|
|
125
|
|
|
|
|
|
|
a. You must ensure that all recipients of |
126
|
|
|
|
|
|
|
machine-executable forms of these items are |
127
|
|
|
|
|
|
|
also able to receive and use the complete |
128
|
|
|
|
|
|
|
machine-readable source code to the items |
129
|
|
|
|
|
|
|
without any charge beyond the costs of data |
130
|
|
|
|
|
|
|
transfer. |
131
|
|
|
|
|
|
|
|
132
|
|
|
|
|
|
|
b. You must explicitly license all recipients of |
133
|
|
|
|
|
|
|
your items to use and re-distribute original and |
134
|
|
|
|
|
|
|
modified versions of the items in both |
135
|
|
|
|
|
|
|
machine-executable and source code forms. |
136
|
|
|
|
|
|
|
The recipients must be able to do so without |
137
|
|
|
|
|
|
|
any charges whatsoever, and they must be |
138
|
|
|
|
|
|
|
able to re-distribute to anyone they choose. |
139
|
|
|
|
|
|
|
|
140
|
|
|
|
|
|
|
c. If the items are not available to the general |
141
|
|
|
|
|
|
|
public, and the initial developer of the Software |
142
|
|
|
|
|
|
|
requests a copy of the items, then you must |
143
|
|
|
|
|
|
|
supply one. |
144
|
|
|
|
|
|
|
|
145
|
|
|
|
|
|
|
Limitations of Liability |
146
|
|
|
|
|
|
|
|
147
|
|
|
|
|
|
|
In no event shall the initial developers or copyright holders be |
148
|
|
|
|
|
|
|
liable for any damages whatsoever, including - but not |
149
|
|
|
|
|
|
|
restricted to - lost revenue or profits or other direct, indirect, |
150
|
|
|
|
|
|
|
special, incidental or consequential damages, even if they |
151
|
|
|
|
|
|
|
have been advised of the possibility of such damages, |
152
|
|
|
|
|
|
|
except to the extent invariable law, if any, provides |
153
|
|
|
|
|
|
|
otherwise. |
154
|
|
|
|
|
|
|
|
155
|
|
|
|
|
|
|
No Warranty |
156
|
|
|
|
|
|
|
|
157
|
|
|
|
|
|
|
The Software and this license document are provided AS IS |
158
|
|
|
|
|
|
|
with NO WARRANTY OF ANY KIND, INCLUDING THE |
159
|
|
|
|
|
|
|
WARRANTY OF DESIGN, MERCHANTABILITY AND |
160
|
|
|
|
|
|
|
FITNESS FOR A PARTICULAR PURPOSE. |
161
|
|
|
|
|
|
|
|
162
|
|
|
|
|
|
|
Choice of Law |
163
|
|
|
|
|
|
|
|
164
|
|
|
|
|
|
|
This license is governed by the Laws of Norway. Disputes |
165
|
|
|
|
|
|
|
shall be settled by Oslo City Court. |