line |
stmt |
bran |
cond |
sub |
pod |
time |
code |
1
|
|
|
|
|
|
|
# |
2
|
|
|
|
|
|
|
|
3
|
|
|
|
|
|
|
package HTML::WebMake::File; |
4
|
|
|
|
|
|
|
|
5
|
|
|
|
|
|
|
|
6
|
1
|
|
|
1
|
|
6
|
use Carp; |
|
1
|
|
|
|
|
1
|
|
|
1
|
|
|
|
|
65
|
|
7
|
1
|
|
|
1
|
|
4
|
use strict; |
|
1
|
|
|
|
|
2
|
|
|
1
|
|
|
|
|
29
|
|
8
|
1
|
|
|
1
|
|
659
|
use HTML::WebMake::Content; |
|
1
|
|
|
|
|
3
|
|
|
1
|
|
|
|
|
27
|
|
9
|
1
|
|
|
1
|
|
632
|
use HTML::WebMake::Out; |
|
1
|
|
|
|
|
3
|
|
|
1
|
|
|
|
|
30
|
|
10
|
1
|
|
|
1
|
|
735
|
use HTML::WebMake::Contents; |
|
1
|
|
|
|
|
3
|
|
|
1
|
|
|
|
|
23
|
|
11
|
1
|
|
|
1
|
|
576
|
use HTML::WebMake::Media; |
|
1
|
|
|
|
|
4
|
|
|
1
|
|
|
|
|
38
|
|
12
|
|
|
|
|
|
|
|
13
|
1
|
|
|
|
|
178
|
use vars qw{ |
14
|
|
|
|
|
|
|
@ISA |
15
|
1
|
|
|
1
|
|
6
|
}; |
|
1
|
|
|
|
|
2
|
|
16
|
|
|
|
|
|
|
|
17
|
|
|
|
|
|
|
|
18
|
|
|
|
|
|
|
|
19
|
|
|
|
|
|
|
|
20
|
|
|
|
|
|
|
########################################################################### |
21
|
|
|
|
|
|
|
|
22
|
|
|
|
|
|
|
sub new ($$$) { |
23
|
0
|
|
|
0
|
0
|
|
my $class = shift; |
24
|
0
|
|
0
|
|
|
|
$class = ref($class) || $class; |
25
|
0
|
|
|
|
|
|
my ($main, $filename) = @_; |
26
|
|
|
|
|
|
|
|
27
|
0
|
0
|
|
|
|
|
if (!defined $filename) { |
28
|
0
|
|
|
|
|
|
carp "no filename defined"; |
29
|
|
|
|
|
|
|
} |
30
|
|
|
|
|
|
|
|
31
|
0
|
|
|
|
|
|
my $self = { |
32
|
|
|
|
|
|
|
'main' => $main, |
33
|
|
|
|
|
|
|
'filename' => $filename, |
34
|
|
|
|
|
|
|
'deps' => [ $filename ], |
35
|
|
|
|
|
|
|
}; |
36
|
|
|
|
|
|
|
|
37
|
0
|
|
|
|
|
|
bless ($self, $class); |
38
|
0
|
|
|
|
|
|
$self; |
39
|
|
|
|
|
|
|
} |
40
|
|
|
|
|
|
|
|
41
|
|
|
|
|
|
|
# ------------------------------------------------------------------------- |
42
|
|
|
|
|
|
|
|
43
|
|
|
|
|
|
|
sub get_deps { |
44
|
0
|
|
|
0
|
0
|
|
my ($self) = @_; |
45
|
|
|
|
|
|
|
|
46
|
0
|
|
|
|
|
|
$self->{deps}; |
47
|
|
|
|
|
|
|
} |
48
|
|
|
|
|
|
|
|
49
|
|
|
|
|
|
|
sub add_dep { |
50
|
0
|
|
|
0
|
0
|
|
my ($self,$file) = @_; |
51
|
|
|
|
|
|
|
|
52
|
0
|
|
|
|
|
|
push (@{$self->{deps}}, $file); |
|
0
|
|
|
|
|
|
|
53
|
|
|
|
|
|
|
} |
54
|
|
|
|
|
|
|
|
55
|
|
|
|
|
|
|
########################################################################### |
56
|
|
|
|
|
|
|
|
57
|
|
|
|
|
|
|
1; |