line |
stmt |
bran |
cond |
sub |
pod |
time |
code |
1
|
1
|
|
|
1
|
|
786
|
use strict; |
|
1
|
|
|
|
|
3
|
|
|
1
|
|
|
|
|
42
|
|
2
|
1
|
|
|
1
|
|
6
|
use warnings; |
|
1
|
|
|
|
|
3
|
|
|
1
|
|
|
|
|
44
|
|
3
|
|
|
|
|
|
|
|
4
|
|
|
|
|
|
|
package Module::Install::AuthorRequires; |
5
|
|
|
|
|
|
|
|
6
|
1
|
|
|
1
|
|
5
|
use base 'Module::Install::Base'; |
|
1
|
|
|
|
|
12
|
|
|
1
|
|
|
|
|
698
|
|
7
|
|
|
|
|
|
|
|
8
|
|
|
|
|
|
|
# cargo cult |
9
|
|
|
|
|
|
|
BEGIN { |
10
|
1
|
|
|
1
|
|
3
|
our $VERSION = '0.02'; |
11
|
1
|
|
|
|
|
139
|
our $ISCORE = 1; |
12
|
|
|
|
|
|
|
} |
13
|
|
|
|
|
|
|
|
14
|
|
|
|
|
|
|
sub author_requires { |
15
|
0
|
|
|
0
|
1
|
|
my $self = shift; |
16
|
|
|
|
|
|
|
|
17
|
0
|
0
|
|
|
|
|
return $self->{values}->{author_requires} |
18
|
|
|
|
|
|
|
unless @_; |
19
|
|
|
|
|
|
|
|
20
|
0
|
|
|
|
|
|
my @added; |
21
|
0
|
|
|
|
|
|
while (@_) { |
22
|
0
|
0
|
|
|
|
|
my $mod = shift or last; |
23
|
0
|
|
0
|
|
|
|
my $version = shift || 0; |
24
|
0
|
|
|
|
|
|
push @added, [$mod => $version]; |
25
|
|
|
|
|
|
|
} |
26
|
|
|
|
|
|
|
|
27
|
0
|
|
|
|
|
|
push @{ $self->{values}->{author_requires} }, @added; |
|
0
|
|
|
|
|
|
|
28
|
0
|
|
|
|
|
|
$self->admin->author_requires(@added); |
29
|
|
|
|
|
|
|
|
30
|
0
|
|
|
|
|
|
return map { @$_ } @added; |
|
0
|
|
|
|
|
|
|
31
|
|
|
|
|
|
|
} |
32
|
|
|
|
|
|
|
|
33
|
|
|
|
|
|
|
1; |
34
|
|
|
|
|
|
|
|
35
|
|
|
|
|
|
|
__END__ |