line |
stmt |
bran |
cond |
sub |
pod |
time |
code |
1
|
|
|
|
|
|
|
package Module::Format::AsHTML; |
2
|
|
|
|
|
|
|
$Module::Format::AsHTML::VERSION = '0.0.2'; |
3
|
1
|
|
|
1
|
|
70431
|
use strict; |
|
1
|
|
|
|
|
12
|
|
|
1
|
|
|
|
|
32
|
|
4
|
1
|
|
|
1
|
|
6
|
use warnings; |
|
1
|
|
|
|
|
2
|
|
|
1
|
|
|
|
|
27
|
|
5
|
|
|
|
|
|
|
|
6
|
1
|
|
|
1
|
|
562
|
use Moo; |
|
1
|
|
|
|
|
11813
|
|
|
1
|
|
|
|
|
5
|
|
7
|
|
|
|
|
|
|
|
8
|
|
|
|
|
|
|
sub dist |
9
|
|
|
|
|
|
|
{ |
10
|
1
|
|
|
1
|
1
|
3
|
my ( $self, $args ) = @_; |
11
|
|
|
|
|
|
|
return |
12
|
1
|
|
|
|
|
8
|
qq#$args->{body}#; |
13
|
|
|
|
|
|
|
} |
14
|
|
|
|
|
|
|
|
15
|
|
|
|
|
|
|
sub homepage |
16
|
|
|
|
|
|
|
{ |
17
|
1
|
|
|
1
|
1
|
646
|
my ( $self, $args ) = @_; |
18
|
1
|
|
|
|
|
9
|
return qq#https://metacpan.org/author/\U$args->{who}\E#; |
19
|
|
|
|
|
|
|
} |
20
|
|
|
|
|
|
|
|
21
|
|
|
|
|
|
|
sub mod |
22
|
|
|
|
|
|
|
{ |
23
|
1
|
|
|
1
|
1
|
4
|
my ( $self, $args ) = @_; |
24
|
|
|
|
|
|
|
return |
25
|
1
|
|
|
|
|
7
|
qq#$args->{body}#; |
26
|
|
|
|
|
|
|
} |
27
|
|
|
|
|
|
|
|
28
|
|
|
|
|
|
|
sub module |
29
|
|
|
|
|
|
|
{ |
30
|
0
|
|
|
0
|
1
|
0
|
my ( $self, $args ) = @_; |
31
|
0
|
|
|
|
|
0
|
return $self->mod($args); |
32
|
|
|
|
|
|
|
} |
33
|
|
|
|
|
|
|
|
34
|
|
|
|
|
|
|
sub b_self_dist |
35
|
|
|
|
|
|
|
{ |
36
|
0
|
|
|
0
|
1
|
0
|
my ( $self, $args ) = @_; |
37
|
0
|
|
|
|
|
0
|
return $self->dist( { body => "$args->{d}", %$args, } ); |
38
|
|
|
|
|
|
|
} |
39
|
|
|
|
|
|
|
|
40
|
|
|
|
|
|
|
sub self_dist |
41
|
|
|
|
|
|
|
{ |
42
|
1
|
|
|
1
|
1
|
3
|
my ( $self, $args ) = @_; |
43
|
1
|
|
|
|
|
8
|
return $self->dist( { body => $args->{d}, %$args, } ); |
44
|
|
|
|
|
|
|
} |
45
|
|
|
|
|
|
|
|
46
|
|
|
|
|
|
|
sub self_mod |
47
|
|
|
|
|
|
|
{ |
48
|
0
|
|
|
0
|
1
|
|
my ( $self, $args ) = @_; |
49
|
0
|
|
|
|
|
|
return $self->mod( { body => $args->{'m'}, %$args, } ); |
50
|
|
|
|
|
|
|
} |
51
|
|
|
|
|
|
|
|
52
|
|
|
|
|
|
|
1; |
53
|
|
|
|
|
|
|
|
54
|
|
|
|
|
|
|
__END__ |