line |
stmt |
bran |
cond |
sub |
pod |
time |
code |
1
|
|
|
|
|
|
|
package Template::Plugin::MARC::Subfield; |
2
|
|
|
|
|
|
|
|
3
|
|
|
|
|
|
|
=head1 Template::Plugin::MARC::Subfield |
4
|
|
|
|
|
|
|
|
5
|
|
|
|
|
|
|
Object class to allow nested auto-loading. Not used directly. |
6
|
|
|
|
|
|
|
|
7
|
|
|
|
|
|
|
=cut |
8
|
|
|
|
|
|
|
|
9
|
|
|
|
|
|
|
|
10
|
1
|
|
|
1
|
|
14
|
use 5.010000; |
|
1
|
|
|
|
|
2
|
|
|
1
|
|
|
|
|
37
|
|
11
|
1
|
|
|
1
|
|
5
|
use strict; |
|
1
|
|
|
|
|
7
|
|
|
1
|
|
|
|
|
23
|
|
12
|
1
|
|
|
1
|
|
9
|
use warnings; |
|
1
|
|
|
|
|
2
|
|
|
1
|
|
|
|
|
128
|
|
13
|
|
|
|
|
|
|
|
14
|
|
|
|
|
|
|
our $VERSION = '0.04'; |
15
|
|
|
|
|
|
|
|
16
|
|
|
|
|
|
|
sub new { |
17
|
30
|
|
|
30
|
0
|
76
|
my ($class, $code, $value) = @_; |
18
|
|
|
|
|
|
|
|
19
|
30
|
|
|
|
|
214
|
return bless { |
20
|
|
|
|
|
|
|
code => $code, |
21
|
|
|
|
|
|
|
value => $value, |
22
|
|
|
|
|
|
|
}, $class; |
23
|
|
|
|
|
|
|
} |
24
|
|
|
|
|
|
|
|
25
|
|
|
|
|
|
|
sub code { |
26
|
19
|
|
|
19
|
0
|
1062
|
my $self = shift; |
27
|
19
|
|
|
|
|
71
|
return $self->{'code'}; |
28
|
|
|
|
|
|
|
} |
29
|
|
|
|
|
|
|
|
30
|
|
|
|
|
|
|
sub value { |
31
|
20
|
|
|
20
|
0
|
3764
|
my $self = shift; |
32
|
20
|
|
|
|
|
70
|
return $self->{'value'}; |
33
|
|
|
|
|
|
|
} |
34
|
|
|
|
|
|
|
|
35
|
|
|
|
|
|
|
1; |
36
|
|
|
|
|
|
|
|