line |
stmt |
bran |
cond |
sub |
pod |
time |
code |
1
|
11
|
|
|
11
|
|
7690
|
use strict; |
|
11
|
|
|
|
|
26
|
|
|
11
|
|
|
|
|
309
|
|
2
|
11
|
|
|
11
|
|
53
|
use warnings; |
|
11
|
|
|
|
|
22
|
|
|
11
|
|
|
|
|
473
|
|
3
|
|
|
|
|
|
|
package Software::License::Perl_5; |
4
|
|
|
|
|
|
|
$Software::License::Perl_5::VERSION = '0.104004'; |
5
|
11
|
|
|
11
|
|
871
|
use parent 'Software::License'; |
|
11
|
|
|
|
|
613
|
|
|
11
|
|
|
|
|
55
|
|
6
|
|
|
|
|
|
|
# ABSTRACT: The Perl 5 License (Artistic 1 & GPL 1) |
7
|
|
|
|
|
|
|
|
8
|
|
|
|
|
|
|
require Software::License::GPL_1; |
9
|
|
|
|
|
|
|
require Software::License::Artistic_1_0_Perl; |
10
|
|
|
|
|
|
|
|
11
|
22
|
|
|
22
|
1
|
52
|
sub name { 'the same terms as the perl 5 programming language system itself' } |
12
|
0
|
|
|
0
|
1
|
0
|
sub url { 'http://dev.perl.org/licenses/' } |
13
|
43
|
|
|
43
|
1
|
142
|
sub meta_name { 'perl' } |
14
|
42
|
|
|
42
|
1
|
100
|
sub meta2_name { 'perl_5' } |
15
|
42
|
|
|
42
|
1
|
112
|
sub spdx_expression { 'Artistic-1.0-Perl OR GPL-1.0-or-later' } |
16
|
|
|
|
|
|
|
|
17
|
|
|
|
|
|
|
sub _gpl { |
18
|
4
|
|
|
4
|
|
1696
|
my ($self) = @_; |
19
|
4
|
|
66
|
|
|
33
|
return $self->{_gpl} ||= Software::License::GPL_1->new({ |
20
|
|
|
|
|
|
|
year => $self->year, |
21
|
|
|
|
|
|
|
holder => $self->holder, |
22
|
|
|
|
|
|
|
}); |
23
|
|
|
|
|
|
|
} |
24
|
|
|
|
|
|
|
|
25
|
|
|
|
|
|
|
sub _tal { |
26
|
4
|
|
|
4
|
|
10477
|
my ($self) = @_; |
27
|
4
|
|
66
|
|
|
34
|
return $self->{_tal} ||= Software::License::Artistic_1_0_Perl->new({ |
28
|
|
|
|
|
|
|
year => $self->year, |
29
|
|
|
|
|
|
|
holder => $self->holder, |
30
|
|
|
|
|
|
|
}); |
31
|
|
|
|
|
|
|
} |
32
|
|
|
|
|
|
|
|
33
|
|
|
|
|
|
|
1; |
34
|
|
|
|
|
|
|
|
35
|
|
|
|
|
|
|
=pod |
36
|
|
|
|
|
|
|
|
37
|
|
|
|
|
|
|
=encoding UTF-8 |
38
|
|
|
|
|
|
|
|
39
|
|
|
|
|
|
|
=head1 NAME |
40
|
|
|
|
|
|
|
|
41
|
|
|
|
|
|
|
Software::License::Perl_5 - The Perl 5 License (Artistic 1 & GPL 1) |
42
|
|
|
|
|
|
|
|
43
|
|
|
|
|
|
|
=head1 VERSION |
44
|
|
|
|
|
|
|
|
45
|
|
|
|
|
|
|
version 0.104004 |
46
|
|
|
|
|
|
|
|
47
|
|
|
|
|
|
|
=head1 PERL VERSION |
48
|
|
|
|
|
|
|
|
49
|
|
|
|
|
|
|
This module is part of CPAN toolchain, or is treated as such. As such, it |
50
|
|
|
|
|
|
|
follows the agreement of the Perl Toolchain Gang to require no newer version |
51
|
|
|
|
|
|
|
of perl than one released in the last ten years. This version may change by |
52
|
|
|
|
|
|
|
agreement of the Toolchain Gang, but for now is governed by the L
|
53
|
|
|
|
|
|
|
Consensus|https://github.com/Perl-Toolchain-Gang/toolchain-site/blob/master/lancaster-consensus.md> |
54
|
|
|
|
|
|
|
of 2013 and the Lyon Amendment of 2023 (described at the linked-to document). |
55
|
|
|
|
|
|
|
|
56
|
|
|
|
|
|
|
Although it may work on older versions of perl, no guarantee is made that the |
57
|
|
|
|
|
|
|
minimum required version will not be increased. The version may be increased |
58
|
|
|
|
|
|
|
for any reason, and there is no promise that patches will be accepted to |
59
|
|
|
|
|
|
|
lower the minimum required perl. |
60
|
|
|
|
|
|
|
|
61
|
|
|
|
|
|
|
=head1 AUTHOR |
62
|
|
|
|
|
|
|
|
63
|
|
|
|
|
|
|
Ricardo Signes |
64
|
|
|
|
|
|
|
|
65
|
|
|
|
|
|
|
=head1 COPYRIGHT AND LICENSE |
66
|
|
|
|
|
|
|
|
67
|
|
|
|
|
|
|
This software is copyright (c) 2023 by Ricardo Signes. |
68
|
|
|
|
|
|
|
|
69
|
|
|
|
|
|
|
This is free software; you can redistribute it and/or modify it under |
70
|
|
|
|
|
|
|
the same terms as the Perl 5 programming language system itself. |
71
|
|
|
|
|
|
|
|
72
|
|
|
|
|
|
|
=cut |
73
|
|
|
|
|
|
|
|
74
|
|
|
|
|
|
|
__DATA__ |