line |
stmt |
bran |
cond |
sub |
pod |
time |
code |
1
|
|
|
|
|
|
|
package Amazon::SimpleDB::ListDomainsResponse; |
2
|
1
|
|
|
1
|
|
2035
|
use strict; |
|
1
|
|
|
|
|
2
|
|
|
1
|
|
|
|
|
40
|
|
3
|
1
|
|
|
1
|
|
6
|
use warnings; |
|
1
|
|
|
|
|
1
|
|
|
1
|
|
|
|
|
32
|
|
4
|
|
|
|
|
|
|
|
5
|
1
|
|
|
1
|
|
6
|
use base 'Amazon::SimpleDB::Response'; |
|
1
|
|
|
|
|
2
|
|
|
1
|
|
|
|
|
101
|
|
6
|
|
|
|
|
|
|
|
7
|
|
|
|
|
|
|
use Amazon::SimpleDB::Domain; |
8
|
|
|
|
|
|
|
|
9
|
|
|
|
|
|
|
sub results { |
10
|
|
|
|
|
|
|
my $self = shift; |
11
|
|
|
|
|
|
|
my $results = |
12
|
|
|
|
|
|
|
$self->{content}->{ListDomainsResponse}{ListDomainsResult}{DomainName}; |
13
|
|
|
|
|
|
|
$self->{next} = |
14
|
|
|
|
|
|
|
$self->{content}->{ListDomainsResponse}{ListDomainsResult}{NextToken}; |
15
|
|
|
|
|
|
|
my @domains = map { |
16
|
|
|
|
|
|
|
Amazon::SimpleDB::Domain->new({name => $_, account => $self->{account}}) |
17
|
|
|
|
|
|
|
} @$results; |
18
|
|
|
|
|
|
|
return wantarray ? @domains : $domains[0]; |
19
|
|
|
|
|
|
|
} |
20
|
|
|
|
|
|
|
|
21
|
|
|
|
|
|
|
sub next { return $_[0]->{next} } |
22
|
|
|
|
|
|
|
|
23
|
|
|
|
|
|
|
1; |
24
|
|
|
|
|
|
|
|
25
|
|
|
|
|
|
|
__END__ |