line |
stmt |
bran |
cond |
sub |
pod |
time |
code |
1
|
|
|
|
|
|
|
###################################################################### |
2
|
|
|
|
|
|
|
package Net::Amazon::Request::UPC; |
3
|
|
|
|
|
|
|
###################################################################### |
4
|
2
|
|
|
2
|
|
3342
|
use warnings; |
|
2
|
|
|
|
|
4
|
|
|
2
|
|
|
|
|
81
|
|
5
|
2
|
|
|
2
|
|
12
|
use strict; |
|
2
|
|
|
|
|
4
|
|
|
2
|
|
|
|
|
75
|
|
6
|
2
|
|
|
2
|
|
10
|
use base qw(Net::Amazon::Request); |
|
2
|
|
|
|
|
5
|
|
|
2
|
|
|
|
|
900
|
|
7
|
|
|
|
|
|
|
|
8
|
|
|
|
|
|
|
################################################## |
9
|
|
|
|
|
|
|
sub new { |
10
|
|
|
|
|
|
|
################################################## |
11
|
1
|
|
|
1
|
1
|
30
|
my($class, %options) = @_; |
12
|
|
|
|
|
|
|
|
13
|
1
|
|
|
|
|
10
|
$class->_assert_options_defined(\%options, qw(upc)); |
14
|
|
|
|
|
|
|
|
15
|
1
|
|
|
|
|
8
|
$class->_convert_option(\%options, |
16
|
|
|
|
|
|
|
'upc', |
17
|
|
|
|
|
|
|
'ItemId'); |
18
|
|
|
|
|
|
|
|
19
|
1
|
|
|
|
|
2
|
$options{'IdType'} = 'UPC'; |
20
|
|
|
|
|
|
|
|
21
|
1
|
|
|
|
|
10
|
my $self = $class->SUPER::new(%options); |
22
|
|
|
|
|
|
|
|
23
|
1
|
|
|
|
|
9
|
$self->_convert_itemsearch(); |
24
|
|
|
|
|
|
|
|
25
|
0
|
|
|
|
|
|
bless $self, $class; # reconsecrate |
26
|
|
|
|
|
|
|
} |
27
|
|
|
|
|
|
|
|
28
|
|
|
|
|
|
|
1; |
29
|
|
|
|
|
|
|
|
30
|
|
|
|
|
|
|
__END__ |