line |
stmt |
bran |
cond |
sub |
pod |
time |
code |
1
|
|
|
|
|
|
|
package WWW::Google::Cloud::Messaging::Response::ResultSet; |
2
|
|
|
|
|
|
|
|
3
|
2
|
|
|
2
|
|
8
|
use strict; |
|
2
|
|
|
|
|
2
|
|
|
2
|
|
|
|
|
41
|
|
4
|
2
|
|
|
2
|
|
9
|
use warnings; |
|
2
|
|
|
|
|
11
|
|
|
2
|
|
|
|
|
43
|
|
5
|
|
|
|
|
|
|
|
6
|
2
|
|
|
2
|
|
1136
|
use WWW::Google::Cloud::Messaging::Response::Result; |
|
2
|
|
|
|
|
4
|
|
|
2
|
|
|
|
|
223
|
|
7
|
|
|
|
|
|
|
|
8
|
|
|
|
|
|
|
sub new { |
9
|
0
|
|
|
0
|
1
|
|
my ($class, $results, $reg_ids) = @_; |
10
|
0
|
|
|
|
|
|
bless { |
11
|
|
|
|
|
|
|
results => $results, |
12
|
|
|
|
|
|
|
reg_ids => $reg_ids, |
13
|
|
|
|
|
|
|
}, $class; |
14
|
|
|
|
|
|
|
} |
15
|
|
|
|
|
|
|
|
16
|
|
|
|
|
|
|
sub next { |
17
|
0
|
|
|
0
|
1
|
|
my $self = shift; |
18
|
0
|
|
0
|
|
|
|
my $result = shift @{$self->{results}} || return; |
19
|
0
|
|
|
|
|
|
my $reg_id = shift @{$self->{reg_ids}}; |
|
0
|
|
|
|
|
|
|
20
|
0
|
|
|
|
|
|
$result->{_reg_id} = $reg_id; |
21
|
0
|
|
|
|
|
|
WWW::Google::Cloud::Messaging::Response::Result->new($result); |
22
|
|
|
|
|
|
|
} |
23
|
|
|
|
|
|
|
|
24
|
|
|
|
|
|
|
1; |
25
|
|
|
|
|
|
|
__END__ |