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