| 1 | 1 | ▶ | use strict; |
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||
| 2 | 1 | ▶ | use warnings; |
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||
| 3 | package Device::RFXCOM::Encoder; | ||
| 4 | 1 | $Device::RFXCOM::Encoder::VERSION = '1.142010'; | |
| 5 | # ABSTRACT: Device::RFXCOM::Encoder base class for encoding RF messages | ||
| 6 | |||
| 7 | |||
| 8 | 1 | ▶ | use 5.006; |
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||
| 9 | 1 | ▶ | use constant DEBUG => $ENV{DEVICE_RFXCOM_ENCODER_DEBUG}; |
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||
| 10 | 1 | ▶ | use Carp qw/croak/; |
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||
| 11 | |||
| 12 | 1 | ▶ | use Exporter; |
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||
| 13 | |||
| 14 | 1 | our @ISA = qw(Exporter); | |
| 15 | 1 | our %EXPORT_TAGS = ( 'all' => [ qw() ] ); | |
| 16 | 1 | our @EXPORT_OK = ( @{ $EXPORT_TAGS{'all'} } ); | |
| 17 | 1 | our @EXPORT = qw(); | |
| 18 | |||
| 19 | |||
| 20 | sub new { | ||
| 21 | 12 | ▶ | my $pkg = shift; |
|
Subroutine
new: called CC=1 SCAR=0.0
Pod
documented
| |||
| 22 | 12 | bless { @_ }, $pkg; | |
| 23 | } | ||
| 24 | |||
| 25 | 1 | 1; | |
| 26 | |||
| 27 | __END__ | ||