line |
stmt |
bran |
cond |
sub |
pod |
time |
code |
1
|
|
|
|
|
|
|
package Geo::WebService::OpenCellID::Response::cell; |
2
|
4
|
|
|
4
|
|
23
|
use warnings; |
|
4
|
|
|
|
|
9
|
|
|
4
|
|
|
|
|
127
|
|
3
|
4
|
|
|
4
|
|
20
|
use strict; |
|
4
|
|
|
|
|
7
|
|
|
4
|
|
|
|
|
109
|
|
4
|
4
|
|
|
4
|
|
17
|
use base qw{Geo::WebService::OpenCellID::Response}; |
|
4
|
|
|
|
|
7
|
|
|
4
|
|
|
|
|
3018
|
|
5
|
|
|
|
|
|
|
our $VERSION = '0.03'; |
6
|
|
|
|
|
|
|
|
7
|
|
|
|
|
|
|
=head1 NAME |
8
|
|
|
|
|
|
|
|
9
|
|
|
|
|
|
|
Geo::WebService::OpenCellID::Response::cell - Perl API for the opencellid.org database |
10
|
|
|
|
|
|
|
|
11
|
|
|
|
|
|
|
=head1 SYNOPSIS |
12
|
|
|
|
|
|
|
|
13
|
|
|
|
|
|
|
=head1 DESCRIPTION |
14
|
|
|
|
|
|
|
|
15
|
|
|
|
|
|
|
Perl Interface to the database at http://www.opencellid.org/ |
16
|
|
|
|
|
|
|
|
17
|
|
|
|
|
|
|
=head1 USAGE |
18
|
|
|
|
|
|
|
|
19
|
|
|
|
|
|
|
=head1 METHODS |
20
|
|
|
|
|
|
|
|
21
|
|
|
|
|
|
|
=head2 mnc |
22
|
|
|
|
|
|
|
|
23
|
|
|
|
|
|
|
=cut |
24
|
|
|
|
|
|
|
|
25
|
|
|
|
|
|
|
sub mnc { |
26
|
0
|
|
|
0
|
1
|
|
my $self=shift; |
27
|
0
|
|
|
|
|
|
return $self->{"data"}->{"cell"}->[0]->{"mnc"}; |
28
|
|
|
|
|
|
|
} |
29
|
|
|
|
|
|
|
|
30
|
|
|
|
|
|
|
=head2 mcc |
31
|
|
|
|
|
|
|
|
32
|
|
|
|
|
|
|
=cut |
33
|
|
|
|
|
|
|
|
34
|
|
|
|
|
|
|
sub mcc { |
35
|
0
|
|
|
0
|
1
|
|
my $self=shift; |
36
|
0
|
|
|
|
|
|
return $self->{"data"}->{"cell"}->[0]->{"mcc"}; |
37
|
|
|
|
|
|
|
} |
38
|
|
|
|
|
|
|
|
39
|
|
|
|
|
|
|
=head2 lac |
40
|
|
|
|
|
|
|
|
41
|
|
|
|
|
|
|
=cut |
42
|
|
|
|
|
|
|
|
43
|
|
|
|
|
|
|
sub lac { |
44
|
0
|
|
|
0
|
1
|
|
my $self=shift; |
45
|
0
|
|
|
|
|
|
return $self->{"data"}->{"cell"}->[0]->{"lac"}; |
46
|
|
|
|
|
|
|
} |
47
|
|
|
|
|
|
|
|
48
|
|
|
|
|
|
|
=head2 cellid |
49
|
|
|
|
|
|
|
|
50
|
|
|
|
|
|
|
=cut |
51
|
|
|
|
|
|
|
|
52
|
|
|
|
|
|
|
*cellId=\&cellid; |
53
|
|
|
|
|
|
|
|
54
|
|
|
|
|
|
|
sub cellid { |
55
|
0
|
|
|
0
|
1
|
|
my $self=shift; |
56
|
0
|
|
0
|
|
|
|
return $self->{"data"}->{"cell"}->[0]->{"cellid"} || $self->{"data"}->{"cell"}->[0]->{"cellId"}; |
57
|
|
|
|
|
|
|
} |
58
|
|
|
|
|
|
|
|
59
|
|
|
|
|
|
|
=head1 BUGS |
60
|
|
|
|
|
|
|
|
61
|
|
|
|
|
|
|
Submit to RT and email the Author |
62
|
|
|
|
|
|
|
|
63
|
|
|
|
|
|
|
=head1 SUPPORT |
64
|
|
|
|
|
|
|
|
65
|
|
|
|
|
|
|
Try the Author or Try 8motions.com |
66
|
|
|
|
|
|
|
|
67
|
|
|
|
|
|
|
=head1 AUTHOR |
68
|
|
|
|
|
|
|
|
69
|
|
|
|
|
|
|
Michael R. Davis |
70
|
|
|
|
|
|
|
CPAN ID: MRDVT |
71
|
|
|
|
|
|
|
STOP, LLC |
72
|
|
|
|
|
|
|
domain=>michaelrdavis,tld=>com,account=>perl |
73
|
|
|
|
|
|
|
http://www.stopllc.com/ |
74
|
|
|
|
|
|
|
|
75
|
|
|
|
|
|
|
=head1 COPYRIGHT |
76
|
|
|
|
|
|
|
|
77
|
|
|
|
|
|
|
This program is free software; you can redistribute |
78
|
|
|
|
|
|
|
it and/or modify it under the same terms as Perl itself. |
79
|
|
|
|
|
|
|
|
80
|
|
|
|
|
|
|
The full text of the license can be found in the |
81
|
|
|
|
|
|
|
LICENSE file included with this module. |
82
|
|
|
|
|
|
|
|
83
|
|
|
|
|
|
|
=head1 SEE ALSO |
84
|
|
|
|
|
|
|
|
85
|
|
|
|
|
|
|
=cut |
86
|
|
|
|
|
|
|
|
87
|
|
|
|
|
|
|
1; |