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