| line |
stmt |
bran |
cond |
sub |
pod |
time |
code |
|
1
|
|
|
|
|
|
|
###################################################################### |
|
2
|
|
|
|
|
|
|
package Net::Amazon::Validate::ItemSearch; |
|
3
|
|
|
|
|
|
|
###################################################################### |
|
4
|
9
|
|
|
9
|
|
49
|
use warnings; |
|
|
9
|
|
|
|
|
20
|
|
|
|
9
|
|
|
|
|
275
|
|
|
5
|
9
|
|
|
9
|
|
50
|
use strict; |
|
|
9
|
|
|
|
|
46
|
|
|
|
9
|
|
|
|
|
275
|
|
|
6
|
|
|
|
|
|
|
|
|
7
|
9
|
|
|
9
|
|
46
|
use Data::Dumper; |
|
|
9
|
|
|
|
|
17
|
|
|
|
9
|
|
|
|
|
458
|
|
|
8
|
9
|
|
|
9
|
|
51
|
use Log::Log4perl qw(:easy); |
|
|
9
|
|
|
|
|
16
|
|
|
|
9
|
|
|
|
|
66
|
|
|
9
|
|
|
|
|
|
|
|
|
10
|
9
|
|
|
9
|
|
14544
|
use warnings; |
|
|
9
|
|
|
|
|
27
|
|
|
|
9
|
|
|
|
|
289
|
|
|
11
|
9
|
|
|
9
|
|
48
|
use strict; |
|
|
9
|
|
|
|
|
18
|
|
|
|
9
|
|
|
|
|
1693
|
|
|
12
|
|
|
|
|
|
|
|
|
13
|
|
|
|
|
|
|
################################################## |
|
14
|
|
|
|
|
|
|
sub factory { |
|
15
|
|
|
|
|
|
|
################################################## |
|
16
|
11
|
|
|
11
|
1
|
28
|
my(%options) = (@_); |
|
17
|
|
|
|
|
|
|
|
|
18
|
11
|
|
|
0
|
|
74
|
DEBUG(sub {"Validate::Itemsearch factory options=" . Data::Dumper::Dumper(\%options) . "\n"}); |
|
|
0
|
|
|
|
|
0
|
|
|
19
|
|
|
|
|
|
|
|
|
20
|
|
|
|
|
|
|
# NOTE: if you want to support multiple versions of the WSDL then add this back. |
|
21
|
|
|
|
|
|
|
# # Transform 2005-10-05 into V2005_10_05 to ensure its a valid module name. |
|
22
|
|
|
|
|
|
|
# my $wsdl_version = $Net::Amazon::WsdlVersion; |
|
23
|
|
|
|
|
|
|
# my $ver = "V$wsdl_version"; |
|
24
|
|
|
|
|
|
|
# $ver =~ s|-|_|g; |
|
25
|
|
|
|
|
|
|
|
|
26
|
11
|
|
|
|
|
140
|
my $class = 'Net::Amazon::Validate::ItemSearch::'; |
|
27
|
|
|
|
|
|
|
# $class .= $ver; |
|
28
|
|
|
|
|
|
|
# $class .= "::"; |
|
29
|
11
|
|
|
|
|
440
|
$class .= $Net::Amazon::Locale; |
|
30
|
11
|
|
|
|
|
27
|
$class .= "::"; |
|
31
|
11
|
|
|
|
|
18
|
$class .= $options{search_index}; |
|
32
|
|
|
|
|
|
|
|
|
33
|
11
|
|
|
|
|
669
|
eval "require $class"; |
|
34
|
|
|
|
|
|
|
|
|
35
|
11
|
|
|
|
|
466
|
my $obj = $class->new(); |
|
36
|
|
|
|
|
|
|
|
|
37
|
0
|
|
|
|
|
|
return $obj; |
|
38
|
|
|
|
|
|
|
} |
|
39
|
|
|
|
|
|
|
|
|
40
|
|
|
|
|
|
|
1; |
|
41
|
|
|
|
|
|
|
__END__ |