line |
stmt |
bran |
cond |
sub |
pod |
time |
code |
1
|
1
|
|
|
1
|
|
681
|
use 5.14.0; |
|
1
|
|
|
|
|
5
|
|
2
|
1
|
|
|
1
|
|
6
|
use strict; |
|
1
|
|
|
|
|
2
|
|
|
1
|
|
|
|
|
26
|
|
3
|
1
|
|
|
1
|
|
7
|
use warnings; |
|
1
|
|
|
|
|
2
|
|
|
1
|
|
|
|
|
67
|
|
4
|
|
|
|
|
|
|
|
5
|
|
|
|
|
|
|
package Dist::Iller::DocType::Global; |
6
|
|
|
|
|
|
|
|
7
|
|
|
|
|
|
|
our $AUTHORITY = 'cpan:CSSON'; # AUTHORITY |
8
|
|
|
|
|
|
|
# ABSTRACT: Settings used in multiple other DocTypes |
9
|
|
|
|
|
|
|
our $VERSION = '0.1410'; |
10
|
|
|
|
|
|
|
|
11
|
1
|
|
|
1
|
|
7
|
use Dist::Iller::Elk; |
|
1
|
|
|
|
|
2
|
|
|
1
|
|
|
|
|
9
|
|
12
|
1
|
|
|
1
|
|
2297
|
use Path::Tiny; |
|
1
|
|
|
|
|
3
|
|
|
1
|
|
|
|
|
81
|
|
13
|
1
|
|
|
1
|
|
8
|
use Types::Standard qw/ArrayRef Str/; |
|
1
|
|
|
|
|
2
|
|
|
1
|
|
|
|
|
11
|
|
14
|
|
|
|
|
|
|
with qw/ |
15
|
|
|
|
|
|
|
Dist::Iller::DocType |
16
|
|
|
|
|
|
|
/; |
17
|
|
|
|
|
|
|
|
18
|
|
|
|
|
|
|
has distribution_name => ( |
19
|
|
|
|
|
|
|
is => 'rw', |
20
|
|
|
|
|
|
|
isa => Str, |
21
|
|
|
|
|
|
|
predicate => 1, |
22
|
|
|
|
|
|
|
); |
23
|
|
|
|
|
|
|
|
24
|
|
|
|
0
|
0
|
|
sub comment_start { } |
25
|
|
|
|
|
|
|
|
26
|
|
|
|
0
|
0
|
|
sub filename { } |
27
|
|
|
|
|
|
|
|
28
|
5
|
|
|
5
|
0
|
44
|
sub phase { 'first' } |
29
|
|
|
|
|
|
|
|
30
|
0
|
|
|
0
|
0
|
|
sub to_hash { {} } |
31
|
|
|
|
|
|
|
|
32
|
|
|
|
|
|
|
sub parse { |
33
|
|
|
|
|
|
|
my $self = shift; |
34
|
|
|
|
|
|
|
my $yaml = shift; |
35
|
|
|
|
|
|
|
|
36
|
|
|
|
|
|
|
if(exists $yaml->{'distribution_name'}) { |
37
|
|
|
|
|
|
|
$self->distribution_name($yaml->{'distribution_name'}); |
38
|
|
|
|
|
|
|
} |
39
|
|
|
|
|
|
|
} |
40
|
|
|
|
|
|
|
|
41
|
|
|
|
|
|
|
sub to_string { } |
42
|
|
|
|
|
|
|
|
43
|
|
|
|
|
|
|
__PACKAGE__->meta->make_immutable; |
44
|
|
|
|
|
|
|
|
45
|
|
|
|
|
|
|
1; |
46
|
|
|
|
|
|
|
|
47
|
|
|
|
|
|
|
__END__ |
48
|
|
|
|
|
|
|
|
49
|
|
|
|
|
|
|
=pod |
50
|
|
|
|
|
|
|
|
51
|
|
|
|
|
|
|
=encoding UTF-8 |
52
|
|
|
|
|
|
|
|
53
|
|
|
|
|
|
|
=head1 NAME |
54
|
|
|
|
|
|
|
|
55
|
|
|
|
|
|
|
Dist::Iller::DocType::Global - Settings used in multiple other DocTypes |
56
|
|
|
|
|
|
|
|
57
|
|
|
|
|
|
|
=head1 VERSION |
58
|
|
|
|
|
|
|
|
59
|
|
|
|
|
|
|
Version 0.1410, released 2020-12-31. |
60
|
|
|
|
|
|
|
|
61
|
|
|
|
|
|
|
=head1 SOURCE |
62
|
|
|
|
|
|
|
|
63
|
|
|
|
|
|
|
L<https://github.com/Csson/p5-Dist-Iller> |
64
|
|
|
|
|
|
|
|
65
|
|
|
|
|
|
|
=head1 HOMEPAGE |
66
|
|
|
|
|
|
|
|
67
|
|
|
|
|
|
|
L<https://metacpan.org/release/Dist-Iller> |
68
|
|
|
|
|
|
|
|
69
|
|
|
|
|
|
|
=head1 AUTHOR |
70
|
|
|
|
|
|
|
|
71
|
|
|
|
|
|
|
Erik Carlsson <info@code301.com> |
72
|
|
|
|
|
|
|
|
73
|
|
|
|
|
|
|
=head1 COPYRIGHT AND LICENSE |
74
|
|
|
|
|
|
|
|
75
|
|
|
|
|
|
|
This software is copyright (c) 2020 by Erik Carlsson. |
76
|
|
|
|
|
|
|
|
77
|
|
|
|
|
|
|
This is free software; you can redistribute it and/or modify it under |
78
|
|
|
|
|
|
|
the same terms as the Perl 5 programming language system itself. |
79
|
|
|
|
|
|
|
|
80
|
|
|
|
|
|
|
=cut |