line |
stmt |
bran |
cond |
sub |
pod |
time |
code |
1
|
|
|
|
|
|
|
package WML::Card::UP; |
2
|
|
|
|
|
|
|
|
3
|
1
|
|
|
1
|
|
7
|
use strict; |
|
1
|
|
|
|
|
4
|
|
|
1
|
|
|
|
|
50
|
|
4
|
1
|
|
|
1
|
|
1967
|
use HTML::Entities; |
|
1
|
|
|
|
|
16334
|
|
|
1
|
|
|
|
|
176
|
|
5
|
1
|
|
|
1
|
|
13
|
use vars qw($VERSION @ISA); |
|
1
|
|
|
|
|
3
|
|
|
1
|
|
|
|
|
785
|
|
6
|
|
|
|
|
|
|
|
7
|
|
|
|
|
|
|
@ISA = qw(WML::Card); |
8
|
|
|
|
|
|
|
|
9
|
|
|
|
|
|
|
$VERSION = '0.01'; |
10
|
|
|
|
|
|
|
|
11
|
|
|
|
|
|
|
sub _format_text { |
12
|
0
|
|
|
0
|
|
|
my $self = shift; |
13
|
0
|
|
|
|
|
|
my $str = shift; |
14
|
0
|
|
|
|
|
|
$str =~ tr|ÁÂÀÅÃÄÇÉÊÈËÍÎÌÏÑÓÔÒØÕÖÚÛÙÜÝáâàåãäçéêèëíîìïñóôòøõöúûùüýÿ|AAAAAACEEEEIIIINOOOOOOUUUUYaaaaaaceeeeiiiinoooooouuuuyy|; |
15
|
0
|
|
|
|
|
|
$str=$self->SUPER::_format_text($str); |
16
|
0
|
|
|
|
|
|
$str; |
17
|
|
|
|
|
|
|
} |
18
|
|
|
|
|
|
|
|
19
|
|
|
|
|
|
|
sub print{ |
20
|
0
|
|
|
0
|
1
|
|
my $self = shift; |
21
|
0
|
|
|
|
|
|
$self->{'_id'} =~s/\s/_/gs; |
22
|
0
|
|
|
|
|
|
$self->{'_title'} = $self->_format_text($self->{'_title'}); |
23
|
0
|
|
|
|
|
|
print << "EOF"; |
24
|
|
|
|
|
|
|
|
25
|
|
|
|
|
|
|
$self->{'_do'} |
26
|
|
|
|
|
|
|
$self->{'_title'} |
27
|
|
|
|
|
|
|
$self->{'_body'} |
28
|
|
|
|
|
|
|
|
29
|
|
|
|
|
|
|
EOF |
30
|
|
|
|
|
|
|
} |
31
|
|
|
|
|
|
|
|
32
|
|
|
|
|
|
|
sub img{ |
33
|
0
|
|
|
0
|
1
|
|
my $self = shift; |
34
|
0
|
|
|
|
|
|
return; |
35
|
|
|
|
|
|
|
} |
36
|
|
|
|
|
|
|
|
37
|
|
|
|
|
|
|
|
38
|
|
|
|
|
|
|
1; |