| 1 | package Geo::WebService::OpenCellID::Base; | ||||||||||||||||||||
| 2 | 4 | ▶ | use warnings; | ||||||||||||||||||
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||||||||||||||||||||
| 3 | 4 | ▶ | use strict; | ||||||||||||||||||
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||||||||||||||||||||
| 4 | 4 | our $VERSION = '0.06'; | |||||||||||||||||||
| 5 | |||||||||||||||||||||
| 6 | =head1 NAME | ||||||||||||||||||||
| 7 | |||||||||||||||||||||
| 8 | Geo::WebService::OpenCellID::Base - Perl API for the opencellid.org database | ||||||||||||||||||||
| 9 | |||||||||||||||||||||
| 10 | =head1 SYNOPSIS | ||||||||||||||||||||
| 11 | |||||||||||||||||||||
| 12 | use base qw{Geo::WebService::OpenCellID::Base}; | ||||||||||||||||||||
| 13 | |||||||||||||||||||||
| 14 | =head1 DESCRIPTION | ||||||||||||||||||||
| 15 | |||||||||||||||||||||
| 16 | =head1 USAGE | ||||||||||||||||||||
| 17 | |||||||||||||||||||||
| 18 | =head1 CONSTRUCTOR | ||||||||||||||||||||
| 19 | |||||||||||||||||||||
| 20 | =head2 new | ||||||||||||||||||||
| 21 | |||||||||||||||||||||
| 22 | =cut | ||||||||||||||||||||
| 23 | |||||||||||||||||||||
| 24 | 9 | ▶ | sub new { | ||||||||||||||||||
|
Subroutine
new: called CC=2 SCAR=7.1
Pod
documented
| |||||||||||||||||||||
| 25 | 9 | my $this = shift(); | |||||||||||||||||||
| 26 | 9 | ▶ | my $class = ref($this) || $this; | ||||||||||||||||||
|
Condition33%1/3
ref $this || $this
MC/DC0%0/2
ref $this || $this
ref $this
$this
Truth table33%1/3
A || B
A= ref $thisB= $this
| |||||||||||||||||||||
| 27 | 9 | my $self = {}; | |||||||||||||||||||
| 28 | 9 | bless $self, $class; | |||||||||||||||||||
| 29 | 9 | $self->initialize(@_); | |||||||||||||||||||
| 30 | 9 | return $self; | |||||||||||||||||||
| 31 | } | ||||||||||||||||||||
| 32 | |||||||||||||||||||||
| 33 | =head2 initialize | ||||||||||||||||||||
| 34 | |||||||||||||||||||||
| 35 | =cut | ||||||||||||||||||||
| 36 | |||||||||||||||||||||
| 37 | 9 | ▶ | sub initialize { | ||||||||||||||||||
|
Subroutine
initialize: called CC=1 SCAR=0.0
Pod
documented
| |||||||||||||||||||||
| 38 | 9 | my $self = shift(); | |||||||||||||||||||
| 39 | 9 | %$self=@_; | |||||||||||||||||||
| 40 | } | ||||||||||||||||||||
| 41 | |||||||||||||||||||||
| 42 | =head1 METHODS | ||||||||||||||||||||
| 43 | |||||||||||||||||||||
| 44 | =head2 parent | ||||||||||||||||||||
| 45 | |||||||||||||||||||||
| 46 | =cut | ||||||||||||||||||||
| 47 | |||||||||||||||||||||
| 48 | 0 | ▶ | sub parent { | ||||||||||||||||||
|
Subroutine
parent: not called CC=1 SCAR=6.9
Pod
documented
| |||||||||||||||||||||
| 49 | 0 | my $self=shift; | |||||||||||||||||||
| 50 | 0 | return $self->{"parent"}; | |||||||||||||||||||
| 51 | } | ||||||||||||||||||||
| 52 | |||||||||||||||||||||
| 53 | =head1 COPYRIGHT | ||||||||||||||||||||
| 54 | |||||||||||||||||||||
| 55 | Copyright (c) 2025 Michael R. Davis | ||||||||||||||||||||
| 56 | |||||||||||||||||||||
| 57 | This program is free software; you can redistribute | ||||||||||||||||||||
| 58 | it and/or modify it under the same terms as Perl itself. | ||||||||||||||||||||
| 59 | |||||||||||||||||||||
| 60 | The full text of the license can be found in the | ||||||||||||||||||||
| 61 | LICENSE file included with this module. | ||||||||||||||||||||
| 62 | |||||||||||||||||||||
| 63 | =cut | ||||||||||||||||||||
| 64 | |||||||||||||||||||||
| 65 | 4 | 1; | |||||||||||||||||||