| 1 | package PICA::Writer::Generic; | ||||||||||
| 2 | 16 | ▶ | use v5.14.1; | ||||||||
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||||||||||
| 3 | |||||||||||
| 4 | 16 | our $VERSION = '2.12'; | |||||||||
| 5 | |||||||||||
| 6 | 16 | ▶ | use charnames qw(:full); | ||||||||
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||||||||||
| 7 | |||||||||||
| 8 | 16 | ▶ | use parent 'PICA::Writer::Base'; | ||||||||
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||||||||||
| 9 | |||||||||||
| 10 | 0 | ▶ | sub SUBFIELD_INDICATOR { | ||||||||
|
Subroutine
SUBFIELD_INDICATOR: not called CC=2 SCAR=17.9
Pod
undocumented
| |||||||||||
| 11 | 0 | my $self = shift; | |||||||||
| 12 | return | ||||||||||
| 13 | 0 | ▶ | exists $self->{us} ? "$self->{us}" : "\N{INFORMATION SEPARATOR ONE}"; | ||||||||
|
Branch: 1 branch
| |||||||||||
| 14 | } | ||||||||||
| 15 | |||||||||||
| 16 | 0 | ▶ | sub END_OF_FIELD { | ||||||||
|
Subroutine
END_OF_FIELD: not called CC=2 SCAR=17.9
Pod
undocumented
| |||||||||||
| 17 | 0 | my $self = shift; | |||||||||
| 18 | return | ||||||||||
| 19 | 0 | ▶ | exists $self->{rs} ? "$self->{rs}" : "\N{INFORMATION SEPARATOR TWO}"; | ||||||||
|
Branch: 1 branch
| |||||||||||
| 20 | } | ||||||||||
| 21 | |||||||||||
| 22 | 0 | ▶ | sub END_OF_RECORD { | ||||||||
|
Subroutine
END_OF_RECORD: not called CC=2 SCAR=17.9
Pod
undocumented
| |||||||||||
| 23 | 0 | my $self = shift; | |||||||||
| 24 | return | ||||||||||
| 25 | exists $self->{gs} | ||||||||||
| 26 | 0 | ▶ | ? "$self->{gs}" | ||||||||
|
Branch: 1 branch
| |||||||||||
| 27 | : "\N{INFORMATION SEPARATOR THREE}"; | ||||||||||
| 28 | } | ||||||||||
| 29 | |||||||||||
| 30 | 16 | 1; | |||||||||
| 31 | __END__ | ||||||||||