line |
stmt |
bran |
cond |
sub |
pod |
time |
code |
1
|
|
|
|
|
|
|
package Template::Replace; |
2
|
|
|
|
|
|
|
|
3
|
8
|
|
|
8
|
|
309125
|
use strict; |
|
8
|
|
|
|
|
22
|
|
|
8
|
|
|
|
|
327
|
|
4
|
8
|
|
|
8
|
|
212
|
use warnings; |
|
8
|
|
|
|
|
20
|
|
|
8
|
|
|
|
|
10865
|
|
5
|
8
|
|
|
8
|
|
231
|
use 5.008; |
|
8
|
|
|
|
|
34
|
|
|
8
|
|
|
|
|
400
|
|
6
|
8
|
|
|
8
|
|
27273
|
use utf8; |
|
8
|
|
|
|
|
85
|
|
|
8
|
|
|
|
|
45
|
|
7
|
8
|
|
|
8
|
|
367
|
use warnings qw( FATAL utf8 ); |
|
8
|
|
|
|
|
17
|
|
|
8
|
|
|
|
|
407
|
|
8
|
8
|
|
|
8
|
|
49
|
use Carp; |
|
8
|
|
|
|
|
16
|
|
|
8
|
|
|
|
|
750
|
|
9
|
8
|
|
|
8
|
|
8833
|
use Encode qw( encode decode ); |
|
8
|
|
|
|
|
179682
|
|
|
8
|
|
|
|
|
1033
|
|
10
|
8
|
|
|
8
|
|
9527
|
use File::Spec::Functions qw( :ALL ); |
|
8
|
|
|
|
|
9177
|
|
|
8
|
|
|
|
|
2325
|
|
11
|
8
|
|
|
8
|
|
22481
|
use open qw( :encoding(UTF-8) :std ); |
|
8
|
|
|
|
|
18766
|
|
|
8
|
|
|
|
|
74
|
|
12
|
|
|
|
|
|
|
|
13
|
|
|
|
|
|
|
=head1 NAME |
14
|
|
|
|
|
|
|
|
15
|
|
|
|
|
|
|
Template::Replace - PurePerl Push-Style Templating Module |
16
|
|
|
|
|
|
|
|
17
|
|
|
|
|
|
|
|
18
|
|
|
|
|
|
|
=head1 VERSION |
19
|
|
|
|
|
|
|
|
20
|
|
|
|
|
|
|
Version 0.04 |
21
|
|
|
|
|
|
|
|
22
|
|
|
|
|
|
|
=cut |
23
|
|
|
|
|
|
|
|
24
|
|
|
|
|
|
|
our $VERSION = '0.04'; |
25
|
|
|
|
|
|
|
|
26
|
|
|
|
|
|
|
# |
27
|
|
|
|
|
|
|
# TODO !!!!! |
28
|
|
|
|
|
|
|
# |
29
|
|
|
|
|
|
|
# . Changed var delimiter for HTML ({} collides with CSS and JS). |
30
|
|
|
|
|
|
|
# . Changed include delimiter for HTML ( |
70
|
|
|
|
|
|
|
|
71
|
|
|
|
|
|
|
|
72
|
|
|
|
|
|
|
|
77
|
|
|
|
|
|
|
|
78
|
|
|
|
|
|
|
|
79
|
|
|
|
|
|
|
|
80
|
|
|
|
|
|
|
($ content_title_var $) |
81
|
|
|
|
|
|
|
|
82
|
|
|
|
|
|
|
($ content_var | none $) |
83
|
|
|
|
|
|
|
|
84
|
|
|
|
|
|
|
|
85
|
|
|
|
|
|
|
Comments |
86
|
|
|
|
|
|
|
|
87
|
|
|
|
|
|
|
|
88
|
|
|
|
|
|
|
|
89
|
|
|
|
|
|
|
($ comment $) |
90
|
|
|
|
|
|
|
|
91
|
|
|
|
|
|
|
|
92
|
|
|
|
|
|
|
|
93
|
|
|
|
|
|
|
|
94
|
|
|
|
|
|
|
No comments yet! |
95
|
|
|
|
|
|
|
|
96
|
|
|
|
|
|
|
|
97
|
|
|
|
|
|
|
|
98
|
|
|
|
|
|
|
|
99
|
|
|
|
|
|
|
|
100
|
|
|
|
|
|
|
|