line |
stmt |
bran |
cond |
sub |
pod |
time |
code |
1
|
|
|
|
|
|
|
# |
2
|
|
|
|
|
|
|
# $Id: IpVersion.pm 2236 2015-02-15 17:03:25Z gomor $ |
3
|
|
|
|
|
|
|
# |
4
|
|
|
|
|
|
|
package Net::SinFP::DB::IpVersion; |
5
|
1
|
|
|
1
|
|
4842
|
use strict; |
|
1
|
|
|
|
|
1
|
|
|
1
|
|
|
|
|
34
|
|
6
|
1
|
|
|
1
|
|
4
|
use warnings; |
|
1
|
|
|
|
|
2
|
|
|
1
|
|
|
|
|
218
|
|
7
|
|
|
|
|
|
|
|
8
|
|
|
|
|
|
|
require DBIx::SQLite::Simple::Table; |
9
|
|
|
|
|
|
|
our @ISA = qw(DBIx::SQLite::Simple::Table); |
10
|
|
|
|
|
|
|
|
11
|
|
|
|
|
|
|
our @AS = qw( |
12
|
|
|
|
|
|
|
idIpVersion |
13
|
|
|
|
|
|
|
ipVersion |
14
|
|
|
|
|
|
|
); |
15
|
|
|
|
|
|
|
__PACKAGE__->cgBuildIndices; |
16
|
|
|
|
|
|
|
__PACKAGE__->cgBuildAccessorsScalar(\@AS); |
17
|
|
|
|
|
|
|
|
18
|
|
|
|
|
|
|
our $Id = $AS[0]; |
19
|
|
|
|
|
|
|
our @Fields = @AS[1..$#AS]; |
20
|
|
|
|
|
|
|
|
21
|
0
|
|
|
0
|
0
|
|
sub getIdIpVersion { shift->lookupId(ipVersion => shift) } |
22
|
0
|
|
|
0
|
0
|
|
sub getIpVersion { shift->lookupString('ipVersion', idIpVersion => shift) } |
23
|
|
|
|
|
|
|
|
24
|
|
|
|
|
|
|
1; |
25
|
|
|
|
|
|
|
|
26
|
|
|
|
|
|
|
=head1 NAME |
27
|
|
|
|
|
|
|
|
28
|
|
|
|
|
|
|
Net::SinFP::DB::IpVersion - IpVersion database table |
29
|
|
|
|
|
|
|
|
30
|
|
|
|
|
|
|
=head1 DESCRIPTION |
31
|
|
|
|
|
|
|
|
32
|
|
|
|
|
|
|
Go to http://www.gomor.org/sinfp to know more. |
33
|
|
|
|
|
|
|
|
34
|
|
|
|
|
|
|
=cut |
35
|
|
|
|
|
|
|
|
36
|
|
|
|
|
|
|
=head1 AUTHOR |
37
|
|
|
|
|
|
|
|
38
|
|
|
|
|
|
|
Patrice EGomoRE Auffret |
39
|
|
|
|
|
|
|
|
40
|
|
|
|
|
|
|
=head1 COPYRIGHT AND LICENSE |
41
|
|
|
|
|
|
|
|
42
|
|
|
|
|
|
|
Copyright (c) 2005-2015, Patrice EGomoRE Auffret |
43
|
|
|
|
|
|
|
|
44
|
|
|
|
|
|
|
You may distribute this module under the terms of the Artistic license. |
45
|
|
|
|
|
|
|
See LICENSE.Artistic file in the source distribution archive. |
46
|
|
|
|
|
|
|
|
47
|
|
|
|
|
|
|
=cut |