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