line |
stmt |
bran |
cond |
sub |
pod |
time |
code |
1
|
|
|
|
|
|
|
package WWW::HyperGlossary::Word; |
2
|
1
|
|
|
1
|
|
1689
|
use base qw(WWW::HyperGlossary::Base); |
|
1
|
|
|
|
|
2
|
|
|
1
|
|
|
|
|
88
|
|
3
|
1
|
|
|
1
|
|
4
|
use Class::Std; |
|
1
|
|
|
|
|
2
|
|
|
1
|
|
|
|
|
8
|
|
4
|
1
|
|
|
1
|
|
85
|
use Class::Std::Utils; |
|
1
|
|
|
|
|
1
|
|
|
1
|
|
|
|
|
10
|
|
5
|
1
|
|
|
1
|
|
38
|
use DBI; |
|
1
|
|
|
|
|
2
|
|
|
1
|
|
|
|
|
48
|
|
6
|
1
|
|
|
1
|
|
5
|
use DBIx::MySperql qw(DBConnect SQLExec $dbh); |
|
1
|
|
|
|
|
2
|
|
|
1
|
|
|
|
|
135
|
|
7
|
1
|
|
|
1
|
|
5
|
use Digest::MD5 qw (md5_hex); |
|
1
|
|
|
|
|
2
|
|
|
1
|
|
|
|
|
44
|
|
8
|
|
|
|
|
|
|
|
9
|
1
|
|
|
1
|
|
5
|
use warnings; |
|
1
|
|
|
|
|
2
|
|
|
1
|
|
|
|
|
41
|
|
10
|
1
|
|
|
1
|
|
6
|
use strict; |
|
1
|
|
|
|
|
2
|
|
|
1
|
|
|
|
|
36
|
|
11
|
1
|
|
|
1
|
|
5
|
use Carp; |
|
1
|
|
|
|
|
2
|
|
|
1
|
|
|
|
|
64
|
|
12
|
|
|
|
|
|
|
|
13
|
1
|
|
|
1
|
|
6
|
use version; our $VERSION = qv('0.0.2'); |
|
1
|
|
|
|
|
2
|
|
|
1
|
|
|
|
|
9
|
|
14
|
|
|
|
|
|
|
|
15
|
|
|
|
|
|
|
{ |
16
|
|
|
|
|
|
|
my %word_id_of : ATTR( :init_arg ); |
17
|
|
|
|
|
|
|
my %language_id_of : ATTR( :init_arg ); |
18
|
|
|
|
|
|
|
my %word_of : ATTR( :init_arg ); |
19
|
|
|
|
|
|
|
my %definitions_of : ATTR( :init_arg ); |
20
|
|
|
|
|
|
|
|
21
|
0
|
|
|
0
|
0
|
|
sub get_word_id { my ($self) = @_; return $word_id_of{ident $self}; } |
|
0
|
|
|
|
|
|
|
22
|
0
|
|
|
0
|
0
|
|
sub get_language_id { my ($self) = @_; return $language_id_of{ident $self}; } |
|
0
|
|
|
|
|
|
|
23
|
0
|
|
|
0
|
0
|
|
sub get_word { my ($self) = @_; return $word_of{ident $self}; } |
|
0
|
|
|
|
|
|
|
24
|
0
|
|
|
0
|
0
|
|
sub get_definitions { my ($self) = @_; return $definitions_of{ident $self}; } |
|
0
|
|
|
|
|
|
|
25
|
|
|
|
|
|
|
|
26
|
|
|
|
|
|
|
sub BUILD { |
27
|
0
|
|
|
0
|
0
|
|
my ($self, $ident, $arg_ref) = @_; |
28
|
|
|
|
|
|
|
|
29
|
0
|
|
|
|
|
|
return; |
30
|
|
|
|
|
|
|
} |
31
|
|
|
|
|
|
|
|
32
|
|
|
|
|
|
|
|
33
|
|
|
|
|
|
|
} |
34
|
|
|
|
|
|
|
|
35
|
|
|
|
|
|
|
1; # Magic true value required at end of module |
36
|
|
|
|
|
|
|
__END__ |