line |
stmt |
bran |
cond |
sub |
pod |
time |
code |
1
|
|
|
|
|
|
|
# $Id: SearchResult.pm,v 1.3 2003/09/16 09:08:53 cvspub Exp $ |
2
|
|
|
|
|
|
|
package WWW::Google::Groups::SearchResult; |
3
|
|
|
|
|
|
|
|
4
|
1
|
|
|
1
|
|
4
|
use strict; |
|
1
|
|
|
|
|
1
|
|
|
1
|
|
|
|
|
29
|
|
5
|
1
|
|
|
1
|
|
4
|
use Storable qw(dclone); |
|
1
|
|
|
|
|
1
|
|
|
1
|
|
|
|
|
81
|
|
6
|
|
|
|
|
|
|
|
7
|
|
|
|
|
|
|
sub new { |
8
|
0
|
|
|
0
|
0
|
|
my ($pkg, $arg, $threads) = @_; |
9
|
0
|
|
|
|
|
|
my $hash = dclone $arg; |
10
|
0
|
|
|
|
|
|
$hash->{_threads} = $threads; |
11
|
0
|
|
|
|
|
|
$hash->{_thread_no} = 0; |
12
|
0
|
|
|
|
|
|
bless $hash, $pkg; |
13
|
|
|
|
|
|
|
} |
14
|
|
|
|
|
|
|
|
15
|
1
|
|
|
1
|
|
10
|
use WWW::Mechanize; |
|
1
|
|
|
|
|
7
|
|
|
1
|
|
|
|
|
60
|
|
16
|
|
|
|
|
|
|
sub next_thread { |
17
|
0
|
|
|
0
|
0
|
|
my $self = shift; |
18
|
0
|
|
|
|
|
|
new WWW::Google::Groups::Thread($self, shift @{$self->{_threads}}); |
|
0
|
|
|
|
|
|
|
19
|
|
|
|
|
|
|
} |
20
|
|
|
|
|
|
|
|
21
|
|
|
|
|
|
|
|
22
|
|
|
|
|
|
|
|
23
|
|
|
|
|
|
|
1; |
24
|
|
|
|
|
|
|
__END__ |