| 1 | # | ||
| 2 | # $Id: Type.pm 2002 2015-02-15 16:50:35Z gomor $ | ||
| 3 | # | ||
| 4 | package Net::Packet::CDP::Type; | ||
| 5 | 1 | ▶ | use strict; |
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||
| 6 | 1 | ▶ | use warnings; |
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||
| 7 | |||
| 8 | 1 | require Net::Packet::Layer4; | |
| 9 | 1 | our @ISA = qw(Net::Packet::Layer4); | |
| 10 | |||
| 11 | 1 | our @AS = qw( | |
| 12 | type | ||
| 13 | length | ||
| 14 | ); | ||
| 15 | 1 | __PACKAGE__->cgBuildIndices; | |
| 16 | 1 | __PACKAGE__->cgBuildAccessorsScalar(\@AS); | |
| 17 | |||
| 18 | 1 | ▶ | no strict 'vars'; |
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||
| 19 | |||
| 20 | 0 | ▶ | sub getLength { shift->[$__length] } |
|
Subroutine
getLength: not called CC=1 SCAR=6.9
Pod
documented
| |||
| 21 | |||
| 22 | 1 | 1; | |
| 23 | |||
| 24 | __END__ | ||