line |
stmt |
bran |
cond |
sub |
pod |
time |
code |
1
|
|
|
|
|
|
|
package HTTP::OAI::MemberMixin; |
2
|
|
|
|
|
|
|
|
3
|
|
|
|
|
|
|
@ISA = qw( LWP::MemberMixin ); |
4
|
|
|
|
|
|
|
|
5
|
|
|
|
|
|
|
our $VERSION = '4.13'; |
6
|
|
|
|
|
|
|
|
7
|
|
|
|
|
|
|
sub new |
8
|
|
|
|
|
|
|
{ |
9
|
73
|
|
|
73
|
0
|
3666
|
my( $class, %self ) = @_; |
10
|
73
|
|
|
|
|
432
|
return bless \%self, $class; |
11
|
|
|
|
|
|
|
} |
12
|
|
|
|
|
|
|
|
13
|
0
|
|
|
0
|
0
|
0
|
sub harvester { shift->_elem("harvester",@_) } |
14
|
|
|
|
|
|
|
|
15
|
|
|
|
|
|
|
sub _multi |
16
|
|
|
|
|
|
|
{ |
17
|
89
|
|
|
89
|
|
219
|
my( $self, $elem ) = splice(@_, 0, 2); |
18
|
89
|
100
|
|
|
|
331
|
if( ref($_[0]) eq "ARRAY" ) |
|
|
100
|
|
|
|
|
|
19
|
|
|
|
|
|
|
{ |
20
|
23
|
|
|
|
|
56
|
$self->{$elem} = $_[0]; |
21
|
|
|
|
|
|
|
} |
22
|
|
|
|
|
|
|
elsif( @_ ) |
23
|
|
|
|
|
|
|
{ |
24
|
32
|
|
|
|
|
49
|
push @{$self->{$elem}}, @_; |
|
32
|
|
|
|
|
139
|
|
25
|
|
|
|
|
|
|
} |
26
|
89
|
100
|
|
|
|
138
|
return @{$self->{$elem} || []}; |
|
89
|
|
|
|
|
414
|
|
27
|
|
|
|
|
|
|
} |
28
|
|
|
|
|
|
|
|
29
|
|
|
|
|
|
|
1; |
30
|
|
|
|
|
|
|
|
31
|
|
|
|
|
|
|
__END__ |