line |
stmt |
bran |
cond |
sub |
pod |
time |
code |
1
|
|
|
|
|
|
|
package Kwiki::Template::TT2::UTF8; |
2
|
1
|
|
|
1
|
|
1185
|
use Kwiki::Template::TT2 -Base; |
|
0
|
|
|
|
|
|
|
|
0
|
|
|
|
|
|
|
3
|
|
|
|
|
|
|
use Kwiki::Template::TT2::UTF8::Provider; |
4
|
|
|
|
|
|
|
|
5
|
|
|
|
|
|
|
our $VERSION = '0.02'; |
6
|
|
|
|
|
|
|
|
7
|
|
|
|
|
|
|
sub create_template_object { |
8
|
|
|
|
|
|
|
require Template; |
9
|
|
|
|
|
|
|
# XXX Make template caching a configurable option |
10
|
|
|
|
|
|
|
Template->new({ |
11
|
|
|
|
|
|
|
LOAD_TEMPLATES => [ |
12
|
|
|
|
|
|
|
Kwiki::Template::TT2::UTF8::Provider->new({ |
13
|
|
|
|
|
|
|
INCLUDE_PATH => $self->path, |
14
|
|
|
|
|
|
|
})], |
15
|
|
|
|
|
|
|
TOLERANT => 0, |
16
|
|
|
|
|
|
|
COMPILE_DIR => $self->compile_dir, |
17
|
|
|
|
|
|
|
COMPILE_EXT => '.ttc', |
18
|
|
|
|
|
|
|
}); |
19
|
|
|
|
|
|
|
} |
20
|
|
|
|
|
|
|
|
21
|
|
|
|
|
|
|
__DATA__ |