line |
stmt |
bran |
cond |
sub |
pod |
time |
code |
1
|
|
|
|
|
|
|
# |
2
|
|
|
|
|
|
|
|
3
|
|
|
|
|
|
|
package HTML::WebMake::SubstCtx; |
4
|
|
|
|
|
|
|
|
5
|
|
|
|
|
|
|
########################################################################### |
6
|
|
|
|
|
|
|
|
7
|
|
|
|
|
|
|
|
8
|
1
|
|
|
1
|
|
10
|
use Carp; |
|
1
|
|
|
|
|
3
|
|
|
1
|
|
|
|
|
112
|
|
9
|
1
|
|
|
1
|
|
7
|
use strict; |
|
1
|
|
|
|
|
2
|
|
|
1
|
|
|
|
|
120
|
|
10
|
|
|
|
|
|
|
|
11
|
1
|
|
|
1
|
|
7
|
use HTML::WebMake::Main; |
|
1
|
|
|
|
|
3
|
|
|
1
|
|
|
|
|
31
|
|
12
|
|
|
|
|
|
|
|
13
|
1
|
|
|
|
|
202
|
use vars qw{ |
14
|
|
|
|
|
|
|
@ISA |
15
|
1
|
|
|
1
|
|
7
|
}; |
|
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, $outname, $dotdots, $fmt, $useurls) = @_; |
26
|
|
|
|
|
|
|
|
27
|
0
|
|
|
|
|
|
my $self = { |
28
|
|
|
|
|
|
|
'main' => $main, |
29
|
|
|
|
|
|
|
'level' => 0, |
30
|
|
|
|
|
|
|
'inf_loop' => 0, |
31
|
|
|
|
|
|
|
'filename' => $filename, |
32
|
|
|
|
|
|
|
'outname' => $outname, |
33
|
|
|
|
|
|
|
'dotdots' => $dotdots, |
34
|
|
|
|
|
|
|
'useurls' => $useurls, |
35
|
|
|
|
|
|
|
'format' => $fmt, |
36
|
|
|
|
|
|
|
}; |
37
|
0
|
|
|
|
|
|
bless ($self, $class); |
38
|
|
|
|
|
|
|
|
39
|
0
|
|
|
|
|
|
$self; |
40
|
|
|
|
|
|
|
} |
41
|
|
|
|
|
|
|
|
42
|
|
|
|
|
|
|
# ------------------------------------------------------------------------- |
43
|
|
|
|
|
|
|
|
44
|
|
|
|
|
|
|
1; |