| 1 | package Net::GPSD3::Base; | ||||||||||||||||||||
| 2 | 12 | ▶ | use strict; | ||||||||||||||||||
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||||||||||||||||||||
| 3 | 12 | ▶ | use warnings; | ||||||||||||||||||
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||||||||||||||||||||
| 4 | |||||||||||||||||||||
| 5 | 12 | our $VERSION='0.12'; | |||||||||||||||||||
| 6 | |||||||||||||||||||||
| 7 | =head1 NAME | ||||||||||||||||||||
| 8 | |||||||||||||||||||||
| 9 | Net::GPSD3::Base - Net::GPSD3 base object | ||||||||||||||||||||
| 10 | |||||||||||||||||||||
| 11 | =head1 SYNOPSIS | ||||||||||||||||||||
| 12 | |||||||||||||||||||||
| 13 | use base qw{Net::GPSD3::Base}; | ||||||||||||||||||||
| 14 | |||||||||||||||||||||
| 15 | =head1 DESCRIPTION | ||||||||||||||||||||
| 16 | |||||||||||||||||||||
| 17 | =head1 CONSTRUCTOR | ||||||||||||||||||||
| 18 | |||||||||||||||||||||
| 19 | =head2 new | ||||||||||||||||||||
| 20 | |||||||||||||||||||||
| 21 | =cut | ||||||||||||||||||||
| 22 | |||||||||||||||||||||
| 23 | 77 | ▶ | sub new { | ||||||||||||||||||
|
Subroutine
new: called CC=2 SCAR=7.1
Pod
documented
| |||||||||||||||||||||
| 24 | 77 | my $this = shift(); | |||||||||||||||||||
| 25 | 77 | ▶ | 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
| |||||||||||||||||||||
| 26 | 77 | my $self = {}; | |||||||||||||||||||
| 27 | 77 | bless $self, $class; | |||||||||||||||||||
| 28 | 77 | $self->initialize(@_); | |||||||||||||||||||
| 29 | 77 | return $self; | |||||||||||||||||||
| 30 | } | ||||||||||||||||||||
| 31 | |||||||||||||||||||||
| 32 | =head1 METHODS | ||||||||||||||||||||
| 33 | |||||||||||||||||||||
| 34 | =head2 initialize | ||||||||||||||||||||
| 35 | |||||||||||||||||||||
| 36 | =cut | ||||||||||||||||||||
| 37 | |||||||||||||||||||||
| 38 | 77 | ▶ | sub initialize { | ||||||||||||||||||
|
Subroutine
initialize: called CC=1 SCAR=0.0
Pod
documented
| |||||||||||||||||||||
| 39 | 77 | my $self=shift; | |||||||||||||||||||
| 40 | 77 | %$self=@_; | |||||||||||||||||||
| 41 | } | ||||||||||||||||||||
| 42 | |||||||||||||||||||||
| 43 | =head1 BUGS | ||||||||||||||||||||
| 44 | |||||||||||||||||||||
| 45 | Log on RT and Send to gpsd-dev email list | ||||||||||||||||||||
| 46 | |||||||||||||||||||||
| 47 | =head1 SUPPORT | ||||||||||||||||||||
| 48 | |||||||||||||||||||||
| 49 | DavisNetworks.com supports all Perl applications including this package. | ||||||||||||||||||||
| 50 | |||||||||||||||||||||
| 51 | Try gpsd-dev email list | ||||||||||||||||||||
| 52 | |||||||||||||||||||||
| 53 | =head1 AUTHOR | ||||||||||||||||||||
| 54 | |||||||||||||||||||||
| 55 | Michael R. Davis | ||||||||||||||||||||
| 56 | CPAN ID: MRDVT | ||||||||||||||||||||
| 57 | STOP, LLC | ||||||||||||||||||||
| 58 | domain=>michaelrdavis,tld=>com,account=>perl | ||||||||||||||||||||
| 59 | http://www.stopllc.com/ | ||||||||||||||||||||
| 60 | |||||||||||||||||||||
| 61 | =head1 COPYRIGHT | ||||||||||||||||||||
| 62 | |||||||||||||||||||||
| 63 | This program is free software licensed under the... | ||||||||||||||||||||
| 64 | |||||||||||||||||||||
| 65 | The BSD License | ||||||||||||||||||||
| 66 | |||||||||||||||||||||
| 67 | The full text of the license can be found in the LICENSE file included with this module. | ||||||||||||||||||||
| 68 | |||||||||||||||||||||
| 69 | =head1 SEE ALSO | ||||||||||||||||||||
| 70 | |||||||||||||||||||||
| 71 | L<Net::GPSD3> | ||||||||||||||||||||
| 72 | |||||||||||||||||||||
| 73 | =cut | ||||||||||||||||||||
| 74 | |||||||||||||||||||||
| 75 | 12 | 1; | |||||||||||||||||||