| 1 | # | ||
| 2 | # $Id: SP.pm,v 008243d3e89a 2018/07/21 14:54:07 gomor $ | ||
| 3 | # | ||
| 4 | package Net::SinFP3::Ext::SP; | ||
| 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 | ▶ | use base qw(Class::Gomor::Array); |
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||
| 9 | 1 | our @AS = qw( | |
| 10 | F | ||
| 11 | W | ||
| 12 | O | ||
| 13 | M | ||
| 14 | S | ||
| 15 | L | ||
| 16 | ); | ||
| 17 | 1 | __PACKAGE__->cgBuildIndices; | |
| 18 | 1 | __PACKAGE__->cgBuildAccessorsScalar(\@AS); | |
| 19 | |||
| 20 | 0 | ▶ | sub new { |
|
Subroutine
new: not called CC=1 SCAR=6.9
Pod
documented
| |||
| 21 | 0 | my $self = shift->SUPER::new( | |
| 22 | F => 'F0', | ||
| 23 | W => 'W0', | ||
| 24 | O => 'O0', | ||
| 25 | M => 'M0', | ||
| 26 | S => 'S0', | ||
| 27 | L => 'L0', | ||
| 28 | @_, | ||
| 29 | ); | ||
| 30 | |||
| 31 | 0 | return $self; | |
| 32 | } | ||
| 33 | |||
| 34 | 0 | ▶ | sub print { |
|
Subroutine
print: not called CC=1 SCAR=6.9
Pod
undocumented
| |||
| 35 | 0 | my $self = shift; | |
| 36 | |||
| 37 | 0 | my $buf = $self->F.' '.$self->W.' '.$self->O.' '.$self->M.' '. | |
| 38 | $self->S.' '.$self->L; | ||
| 39 | |||
| 40 | 0 | return $buf; | |
| 41 | } | ||
| 42 | |||
| 43 | 1 | 1; | |
| 44 | |||
| 45 | __END__ | ||