line |
stmt |
bran |
cond |
sub |
pod |
time |
code |
1
|
|
|
|
|
|
|
###################################################################### |
2
|
|
|
|
|
|
|
package Net::Amazon::Response::EAN; |
3
|
|
|
|
|
|
|
###################################################################### |
4
|
1
|
|
|
1
|
|
887
|
use warnings; |
|
1
|
|
|
|
|
2
|
|
|
1
|
|
|
|
|
39
|
|
5
|
1
|
|
|
1
|
|
7
|
use strict; |
|
1
|
|
|
|
|
1
|
|
|
1
|
|
|
|
|
40
|
|
6
|
1
|
|
|
1
|
|
6
|
use base qw(Net::Amazon::Response); |
|
1
|
|
|
|
|
2
|
|
|
1
|
|
|
|
|
3354
|
|
7
|
|
|
|
|
|
|
|
8
|
|
|
|
|
|
|
use Net::Amazon::Property; |
9
|
|
|
|
|
|
|
|
10
|
|
|
|
|
|
|
################################################## |
11
|
|
|
|
|
|
|
sub new { |
12
|
|
|
|
|
|
|
################################################## |
13
|
|
|
|
|
|
|
my($class, %options) = @_; |
14
|
|
|
|
|
|
|
|
15
|
|
|
|
|
|
|
my $self = $class->SUPER::new(%options); |
16
|
|
|
|
|
|
|
|
17
|
|
|
|
|
|
|
bless $self, $class; # reconsecrate |
18
|
|
|
|
|
|
|
} |
19
|
|
|
|
|
|
|
|
20
|
|
|
|
|
|
|
################################################## |
21
|
|
|
|
|
|
|
sub as_string { |
22
|
|
|
|
|
|
|
################################################## |
23
|
|
|
|
|
|
|
my($self) = @_; |
24
|
|
|
|
|
|
|
|
25
|
|
|
|
|
|
|
my($property) = $self->properties; |
26
|
|
|
|
|
|
|
return $property->as_string(); |
27
|
|
|
|
|
|
|
} |
28
|
|
|
|
|
|
|
|
29
|
|
|
|
|
|
|
################################################## |
30
|
|
|
|
|
|
|
sub properties { |
31
|
|
|
|
|
|
|
################################################## |
32
|
|
|
|
|
|
|
my($self) = @_; |
33
|
|
|
|
|
|
|
|
34
|
|
|
|
|
|
|
my $property = Net::Amazon::Property::factory( |
35
|
|
|
|
|
|
|
xmlref => $self->{xmlref}->{Items}->[0]); |
36
|
|
|
|
|
|
|
|
37
|
|
|
|
|
|
|
return ($property); |
38
|
|
|
|
|
|
|
} |
39
|
|
|
|
|
|
|
|
40
|
|
|
|
|
|
|
1; |